[aseprite] 121/128: Fix arrow keys to move selection (fix #1120)

Tobias Hansen thansen at moszumanska.debian.org
Mon May 9 21:24:30 UTC 2016


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

thansen pushed a commit to branch master
in repository aseprite.

commit ccabc9ad01bfccab6315b0a8f72c6fb966e83453
Author: David Capello <davidcapello at gmail.com>
Date:   Thu May 5 23:20:34 2016 -0300

    Fix arrow keys to move selection (fix #1120)
---
 src/app/commands/cmd_move_mask.cpp | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/app/commands/cmd_move_mask.cpp b/src/app/commands/cmd_move_mask.cpp
index 748418b..e8a8c5f 100644
--- a/src/app/commands/cmd_move_mask.cpp
+++ b/src/app/commands/cmd_move_mask.cpp
@@ -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
@@ -80,9 +80,7 @@ bool MoveMaskCommand::onEnabled(Context* context)
                                    ContextFlags::HasVisibleMask |
                                    ContextFlags::HasActiveImage);
       else
-        return context->checkFlags(ContextFlags::HasActiveDocument |
-                                   ContextFlags::HasVisibleMask |
-                                   ContextFlags::HasActiveImage);
+        return current_editor;
 
   }
 

-- 
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