Opened 7 years ago

Closed 3 years ago

#9592 closed bug (invalid)

[Keymap] don't invalidate everything in KeyboardLayoutView

Reported by: diver Owned by: axeld
Priority: normal Milestone: R1
Component: Preferences/Keymap Version: R1/Development
Keywords: Cc: X512
Blocked By: Blocking:
Platform: All


From ticket:8370#comment:13:

"The trick is to only invalidate the area that changed, and make your code in Draw() smart enough not to update everything everytime. Which the KeyboardLayoutView currently doesn't do, though."

Change History (2)

comment:1 by jscipione, 7 years ago

Component: Preferences/KeyboardPreferences/Keymap

comment:2 by axeld, 3 years ago

Resolution: invalid
Status: newclosed

It actually, does, you're mistaken. It only calls Invalidate() in case you press a modifier, as it actually has to redraw the whole keymap then.

Note: See TracTickets for help on using tickets.