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

thansen pushed a commit to branch master
in repository aseprite.

commit 3024bc76042431c71765d197bff5d17be066f408
Author: David Capello <[email protected]>
Date:   Tue Dec 15 18:17:42 2015 -0300

    Fix redrawing issue when we "delete all brushes"
---
 src/app/ui/brush_popup.cpp | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/app/ui/brush_popup.cpp b/src/app/ui/brush_popup.cpp
index c27ca04..4f205c7 100644
--- a/src/app/ui/brush_popup.cpp
+++ b/src/app/ui/brush_popup.cpp
@@ -289,8 +289,13 @@ void BrushPopup::regenerate(const gfx::Rect& box)
 void BrushPopup::onBrushChanges()
 {
   if (isVisible()) {
+    gfx::Region rgn;
+    getDrawableRegion(rgn, DrawableRegionFlags(kCutTopWindows | 
kUseChildArea));
+
     regenerate(bounds());
     invalidate();
+
+    parent()->invalidateRegion(rgn);
   }
 }
 

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

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to