mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-29 12:32:52 +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;
|
||||
}
|
||||
|
||||
// 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;
|
||||
m_quicktool = m_customizationDelegate->getQuickTool(current_tool);
|
||||
|
||||
showDrawingCursor();
|
||||
|
||||
// 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)
|
||||
if (old_quicktool != m_quicktool) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user