Commit 0a40da93 authored by ROOL's avatar ROOL 🤖
Browse files

Fix for cancelling a scale/shear still going ahead with the operation

Detail:
  The shortcuts F4 (Scale X), Shift-F4 (Scale Y) and Ctrl-H (Shear) could not be
  cancelled. Pressing ESC (or clicking outside the window) performs the action
  as if you had pressed Enter, which is not the case if reached via the menus.
Admin:
  Ref: https://www.riscosopen.org/forum/forums/4/topics/16541#posts-124210

Version 2.43. Tagged as 'Paint-2_43'
parent 3d778ae8
...@@ -9,12 +9,12 @@ ...@@ -9,12 +9,12 @@
GBLS Module_ApplicationDate GBLS Module_ApplicationDate
GBLS Module_HelpVersion GBLS Module_HelpVersion
GBLS Module_ComponentName GBLS Module_ComponentName
Module_MajorVersion SETS "2.42" Module_MajorVersion SETS "2.43"
Module_Version SETA 242 Module_Version SETA 243
Module_MinorVersion SETS "" Module_MinorVersion SETS ""
Module_Date SETS "07 Jul 2021" Module_Date SETS "21 Aug 2021"
Module_ApplicationDate SETS "07-Jul-21" Module_ApplicationDate SETS "21-Aug-21"
Module_ComponentName SETS "Paint" Module_ComponentName SETS "Paint"
Module_FullVersion SETS "2.42" Module_FullVersion SETS "2.43"
Module_HelpVersion SETS "2.42 (07 Jul 2021)" Module_HelpVersion SETS "2.43 (21 Aug 2021)"
END END
/* (2.42) /* (2.43)
* *
* This file is automatically maintained by srccommit, do not edit manually. * This file is automatically maintained by srccommit, do not edit manually.
* *
*/ */
#define Module_MajorVersion_CMHG 2.42 #define Module_MajorVersion_CMHG 2.43
#define Module_MinorVersion_CMHG #define Module_MinorVersion_CMHG
#define Module_Date_CMHG 07 Jul 2021 #define Module_Date_CMHG 21 Aug 2021
#define Module_MajorVersion "2.42" #define Module_MajorVersion "2.43"
#define Module_Version 242 #define Module_Version 243
#define Module_MinorVersion "" #define Module_MinorVersion ""
#define Module_Date "07 Jul 2021" #define Module_Date "21 Aug 2021"
#define Module_ApplicationDate "07-Jul-21" #define Module_ApplicationDate "21-Aug-21"
#define Module_ComponentName "Paint" #define Module_ComponentName "Paint"
#define Module_FullVersion "2.42" #define Module_FullVersion "2.43"
#define Module_HelpVersion "2.42 (07 Jul 2021)" #define Module_HelpVersion "2.43 (21 Aug 2021)"
#define Module_LibraryVersionInfo "2:42" #define Module_LibraryVersionInfo "2:43"
...@@ -3508,8 +3508,8 @@ int main (int argc, char *argv[]) ...@@ -3508,8 +3508,8 @@ int main (int argc, char *argv[])
wimpt_init (msgs_lookup ("Pnt00")); wimpt_init (msgs_lookup ("Pnt00"));
/* Track caret for keyboard shortcuts */ /* Track caret for keyboard shortcuts */
event_setmask ((wimp_emask) (event_getmask () | wimp_EMLOSECARET | event_setmask ((wimp_emask) (event_getmask () & ~wimp_EMLOSECARET &
wimp_EMGAINCARET)); ~wimp_EMGAINCARET));
flex_init (); flex_init ();
heap_init (FALSE /* non-compacting */); heap_init (FALSE /* non-compacting */);
......
...@@ -2465,6 +2465,7 @@ void menus_transform_dbox (main_window *window, int which) ...@@ -2465,6 +2465,7 @@ void menus_transform_dbox (main_window *window, int which)
if (i == dbox_CLOSE) if (i == dbox_CLOSE)
{ ftracef0 ("Close menu event\n"); { ftracef0 ("Close menu event\n");
number = 0; number = 0;
factor = 0.0;
} }
dbox_dispose (&transform_d); dbox_dispose (&transform_d);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment