mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-28 06:21:25 +00:00
Fix copy+move cursor icon bug (fix #3887)
Add logic to show the correct curson icon when holding the copy key (alt) while hovering over a selected layer.
This commit is contained in:
parent
8709219d68
commit
571a3965e9
@ -2093,7 +2093,10 @@ void Timeline::setCursor(ui::Message* msg, const Hit& hit)
|
||||
ui::set_mouse_cursor(kSizeECursor);
|
||||
}
|
||||
else if (hit.part == PART_RANGE_OUTLINE) {
|
||||
ui::set_mouse_cursor(kMoveCursor);
|
||||
if (is_copy_key_pressed(msg))
|
||||
ui::set_mouse_cursor(kArrowPlusCursor);
|
||||
else
|
||||
ui::set_mouse_cursor(kMoveCursor);
|
||||
}
|
||||
else if (hit.part == PART_SEPARATOR) {
|
||||
ui::set_mouse_cursor(kSizeWECursor);
|
||||
|
Loading…
Reference in New Issue
Block a user