mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-10 23:46:20 +01:00
undo a change the broke cursor management
push push pop pop must always work, even if the two pushes are for the same cursor
This commit is contained in:
parent
f598f4e4e0
commit
28e638deac
1 changed files with 0 additions and 6 deletions
|
|
@ -2082,12 +2082,6 @@ size_t
|
|||
EditingContext::push_canvas_cursor (Gdk::Cursor* cursor)
|
||||
{
|
||||
if (!_cursors->is_invalid (cursor)) {
|
||||
if (!_cursor_stack.empty()) {
|
||||
if (cursor == _cursor_stack.back()) {
|
||||
return _cursor_stack.size() - 1;
|
||||
}
|
||||
}
|
||||
|
||||
_cursor_stack.push_back (cursor);
|
||||
set_canvas_cursor (cursor);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue