From ee1dac08934c54b891e759c3e807dc60c1d1eb67 Mon Sep 17 00:00:00 2001 From: David Capello Date: Fri, 1 Jul 2016 10:07:55 -0300 Subject: [PATCH 01/23] Right-click subtract selection again on floating pixels (fix #1164) --- src/app/ui/editor/moving_pixels_state.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/app/ui/editor/moving_pixels_state.cpp b/src/app/ui/editor/moving_pixels_state.cpp index 6ae308ec5..69cdd4f47 100644 --- a/src/app/ui/editor/moving_pixels_state.cpp +++ b/src/app/ui/editor/moving_pixels_state.cpp @@ -256,9 +256,10 @@ bool MovingPixelsState::onMouseDown(Editor* editor, MouseMessage* msg) } } - // Start "moving pixels" loop - if (editor->isInsideSelection() && (msg->left() || - msg->right())) { + // Start "moving pixels" loop. Here we check only for left-click as + // right-click can be used to deselect/subtract selection, so we + // should drop the selection in this later case. + if (editor->isInsideSelection() && msg->left()) { // In case that the user is pressing the copy-selection keyboard shortcut. EditorCustomizationDelegate* customization = editor->getCustomizationDelegate(); if ((customization) && From 67ce9473f8ef697731b03ef0d126abd50b70869f Mon Sep 17 00:00:00 2001 From: David Capello Date: Fri, 1 Jul 2016 10:24:44 -0300 Subject: [PATCH 02/23] Add option to include partial tiles in Import Sprite Sheet (fix #1161) --- data/pref.xml | 1 + data/widgets/import_sprite_sheet.xml | 4 +++- src/app/commands/cmd_import_sprite_sheet.cpp | 23 +++++++++++++++----- 3 files changed, 22 insertions(+), 6 deletions(-) diff --git a/data/pref.xml b/data/pref.xml index 88513ab35..6dd611eb5 100644 --- a/data/pref.xml +++ b/data/pref.xml @@ -290,6 +290,7 @@