Opened 12 years ago
Closed 8 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 |
Description
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 , 12 years ago
Component: | Preferences/Keyboard → Preferences/Keymap |
---|
comment:2 by , 8 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
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.