Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit c0af33d

Browse files
committed
[Bug 20799] Removed errant copy/paste from DG lib
1 parent 4fa1b43 commit c0af33d

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Toolset/palettes/revdatagridlibrary/behaviorsrowchainedbehavior.livecodescript

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ before mouseDown
5050
pass mouseDown
5151
end if
5252

53-
if the dgEditMode of the of the dgControl of me then
53+
if the dgEditMode of the dgControl of me then
5454
-- If the reorder control has been clicked start a reorder. Exiting to top
5555
-- at this point prevents the mouseDown message being sent to control.
5656
local tReorderControl
@@ -104,7 +104,7 @@ before mouseMove pNewMouseH, pNewMouseV
104104
pass mouseMove
105105
end if
106106

107-
if not the dgEditMode of the of the dgControl of me then
107+
if not the dgEditMode of the dgControl of me then
108108
-- If the user has just clicked (i.e. pre-dragging), attempt to determine
109109
-- if the user is trying to drag the row. We do this by checking if the
110110
-- horizontal position of the drag has changed sufficiently within a given
@@ -168,7 +168,7 @@ before mouseUp
168168
pass mouseUp
169169
end if
170170

171-
if the dgEditMode of the of the dgControl of me then
171+
if the dgEditMode of the dgControl of me then
172172
DG2_ReorderEnd
173173

174174
-- If the action select control has been clicked, tell the user (by
@@ -198,7 +198,7 @@ before mouseRelease
198198
pass mouseRelease
199199
end if
200200

201-
if the dgEditMode of the of the dgControl of me then
201+
if the dgEditMode of the dgControl of me then
202202
DG2_ReorderEnd
203203
else
204204
put false into sPreDragging
@@ -219,7 +219,7 @@ before LayoutControl pControlRect, pWorkingRect
219219

220220
-- If we're in edit mode, position the edit mode controls appropriately.
221221
-- The action select control on the left, reorder on the right.
222-
if the dgEditMode of the of the dgControl of me then
222+
if the dgEditMode of the dgControl of me then
223223
if tActionSelectControl is not empty then
224224
set the visible tActionSelectControl to true
225225
set the topLeft of tActionSelectControl to item 1 of pControlRect, item 2 of pControlRect + (item 4 of pControlRect - item 2 of pControlRect - the height of tActionSelectControl) / 2

0 commit comments

Comments
 (0)