[aseprite] 49/134: Fix mini editor problem: brush preview wasn't being shown

Tobias Hansen thansen at moszumanska.debian.org
Sat Mar 14 17:10:02 UTC 2015


This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository aseprite.

commit 8b4edc2f50dae4af0dd8a33748a81482eeedd3df
Author: David Capello <davidcapello at gmail.com>
Date:   Fri Nov 7 20:17:06 2014 -0300

    Fix mini editor problem: brush preview wasn't being shown
---
 src/app/ui/mini_editor.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/app/ui/mini_editor.cpp b/src/app/ui/mini_editor.cpp
index 93f5f44..7d91605 100644
--- a/src/app/ui/mini_editor.cpp
+++ b/src/app/ui/mini_editor.cpp
@@ -251,6 +251,7 @@ void MiniEditorWindow::updateUsingEditor(Editor* editor)
   }
 
   miniEditor->centerInSpritePoint(pt.x, pt.y);
+  miniEditor->setLayer(editor->layer());
   miniEditor->setFrame(editor->frame());
 }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git



More information about the Pkg-games-commits mailing list