Improve the animation track editor drawing
- Draw a background on alternate lines to ease readability of animations with many tracks. - Draw a background on the currently hovered line. - Use the editor focus stylebox instead of a custom rectangle for the focused track.
This commit is contained in:
parent
422a45a69e
commit
313c672dc8
2 changed files with 19 additions and 1 deletions
|
|
@ -171,6 +171,7 @@ class AnimationTrackEdit : public Control {
|
|||
|
||||
PopupMenu *menu;
|
||||
|
||||
bool hovered = false;
|
||||
bool clicking_on_name = false;
|
||||
|
||||
void _zoom_changed();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue