mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-06 03:39:51 +00:00
Call onEnterState() from base class in SelectBoxState and StandbyState
This commit is contained in:
parent
67afc5f621
commit
ef4a4822da
@ -1,5 +1,5 @@
|
||||
// Aseprite
|
||||
// Copyright (C) 2001-2015 David Capello
|
||||
// Copyright (C) 2001-2016 David Capello
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License version 2 as
|
||||
@ -68,6 +68,8 @@ void SelectBoxState::setBoxBounds(const gfx::Rect& box)
|
||||
|
||||
void SelectBoxState::onEnterState(Editor* editor)
|
||||
{
|
||||
StandbyState::onEnterState(editor);
|
||||
|
||||
updateContextBar();
|
||||
|
||||
editor->setDecorator(this);
|
||||
|
@ -99,6 +99,8 @@ StandbyState::~StandbyState()
|
||||
|
||||
void StandbyState::onEnterState(Editor* editor)
|
||||
{
|
||||
StateWithWheelBehavior::onEnterState(editor);
|
||||
|
||||
editor->setDecorator(m_decorator);
|
||||
|
||||
m_pivotVisConn =
|
||||
|
Loading…
x
Reference in New Issue
Block a user