Commit 2be7f1d5 authored by Ben Avison's avatar Ben Avison
Browse files

Fixed bug ticket #137 - resizing objects using the drag box is dodgy

Detail:
 Stopped the bottom right hand corner of a selection jumping to the
 pointer when a change shape drag is initiated.
Admin:
 Tested on Iyonix RO517
Author:
  Colin Granville

Version 1.17. Tagged as 'Draw-1_17'
parent 5d6ae288
......@@ -11,13 +11,13 @@
GBLS Module_HelpVersion
GBLS Module_ComponentName
GBLS Module_ComponentPath
Module_MajorVersion SETS "1.16"
Module_Version SETA 116
Module_MajorVersion SETS "1.17"
Module_Version SETA 117
Module_MinorVersion SETS ""
Module_Date SETS "06 Dec 2010"
Module_ApplicationDate SETS "06-Dec-10"
Module_Date SETS "14 Apr 2011"
Module_ApplicationDate SETS "14-Apr-11"
Module_ComponentName SETS "Draw"
Module_ComponentPath SETS "castle/RiscOS/Sources/Apps/Draw"
Module_FullVersion SETS "1.16"
Module_HelpVersion SETS "1.16 (06 Dec 2010)"
Module_FullVersion SETS "1.17"
Module_HelpVersion SETS "1.17 (14 Apr 2011)"
END
/* (1.16)
/* (1.17)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 1.16
#define Module_MajorVersion_CMHG 1.17
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 06 Dec 2010
#define Module_Date_CMHG 14 Apr 2011
#define Module_MajorVersion "1.16"
#define Module_Version 116
#define Module_MajorVersion "1.17"
#define Module_Version 117
#define Module_MinorVersion ""
#define Module_Date "06 Dec 2010"
#define Module_Date "14 Apr 2011"
#define Module_ApplicationDate "06-Dec-10"
#define Module_ApplicationDate "14-Apr-11"
#define Module_ComponentName "Draw"
#define Module_ComponentPath "castle/RiscOS/Sources/Apps/Draw"
#define Module_FullVersion "1.16"
#define Module_HelpVersion "1.16 (06 Dec 2010)"
#define Module_LibraryVersionInfo "1:16"
#define Module_FullVersion "1.17"
#define Module_HelpVersion "1.17 (14 Apr 2011)"
#define Module_LibraryVersionInfo "1:17"
......@@ -518,20 +518,34 @@ void draw_select_longselect (diagrec *diag, viewrec *vuue, draw_objcoord *pt,
draw_displ_eor_scaleboxes (diag); /*scale 1:1*/
#if 0
/* Colin Granville 5-2-2011
following lines removed to fix ROOL ticket #137
resizing objects using the drag box is dodgy */
/*Fake mouse position to box corner*/
pt->x = box.x1;
pt->y = box.y0;
#endif
break;
}
draw_enter_claim (diag, vuue);
draw_enter_claim (diag, vuue);
}
else
draw_start_capture (vuue, shifted? state_sel_shift_select:
state_sel_select, pt, FALSE);
/*Snap mouse onto grid*/
#if 0
/* Colin Granville 5-2-2011
following line removed to fix ROOL ticket #137
resizing objects using the drag box is dodgy */
if (diag->misc->substate != state_sel_scale)
#endif
draw_grid_snap_if_locked (vuue, pt);
}
......
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