mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-06 12:39:57 +00:00
Fix #505 - Brush leaves artifact pixels everywhere
This commit is contained in:
parent
3e18efcd8b
commit
604a17d25b
@ -1017,9 +1017,16 @@ void Editor::updateQuicktool()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Hide the drawing cursor with the current tool brush size before
|
||||||
|
// we change the quicktool. In this way we avoid using the
|
||||||
|
// quicktool brush size to clean the current tool cursor.
|
||||||
|
hideDrawingCursor();
|
||||||
|
|
||||||
tools::Tool* old_quicktool = m_quicktool;
|
tools::Tool* old_quicktool = m_quicktool;
|
||||||
m_quicktool = m_customizationDelegate->getQuickTool(current_tool);
|
m_quicktool = m_customizationDelegate->getQuickTool(current_tool);
|
||||||
|
|
||||||
|
showDrawingCursor();
|
||||||
|
|
||||||
// If the tool has changed, we must to update the status bar because
|
// If the tool has changed, we must to update the status bar because
|
||||||
// the new tool can display something different in the status bar (e.g. Eyedropper)
|
// the new tool can display something different in the status bar (e.g. Eyedropper)
|
||||||
if (old_quicktool != m_quicktool) {
|
if (old_quicktool != m_quicktool) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user