mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-30 13:20:28 +00:00
Remove unused variable
This commit is contained in:
parent
be79b519ad
commit
b491e589fd
@ -396,7 +396,7 @@ bool StandbyState::onDoubleClick(Editor* editor, MouseMessage* msg)
|
||||
if (ink->isSelection() &&
|
||||
Preferences::instance().selection.doubleclickSelectTile()) {
|
||||
// Drop pixels if we are in moving pixels state
|
||||
if (MovingPixelsState* movingPixels = dynamic_cast<MovingPixelsState*>(editor->getState().get()))
|
||||
if (dynamic_cast<MovingPixelsState*>(editor->getState().get()))
|
||||
editor->backToPreviousState();
|
||||
|
||||
// Start a tool-loop selecting tiles.
|
||||
|
Loading…
x
Reference in New Issue
Block a user