mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-18 16:21:07 +00:00
Release mouse before command execution (fix #4484)
This commit is contained in:
parent
0a1c5275a7
commit
46c57c91c7
@ -162,6 +162,8 @@ bool DraggingValueState::onUpdateStatusBar(Editor* editor)
|
||||
|
||||
void DraggingValueState::onBeforeCommandExecution(CommandExecutionEvent& ev)
|
||||
{
|
||||
if (m_editor->hasCapture())
|
||||
m_editor->releaseMouse();
|
||||
m_editor->backToPreviousState();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user