You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 31, 2021. It is now read-only.
-- thus not effected by the control sliding in from the right (which would naturally
9934
9940
-- move the roerder control right).
9935
9941
add1topContextA["animation count"]
9936
-
put DG2_AnimationsAnimationCreate(tReorderControl, "left", the left oftReorderControl, the left oftReorderControl, the dgAnimationProp["EditModeEnterExitDuration"] of me, the dgAnimationProp["EditModeEnterExitReorderControlEasing"] of me) intopContextA["animations"][pContextA["animation count"]]
9942
+
put DG2_AnimationsAnimationCreate(tReorderControl, "left", the left oftReorderControl, the left oftReorderControl, the dgAnimationProp["EditModeEnterExitDuration"] of me, "linear") intopContextA["animations"][pContextA["animation count"]]
9937
9943
9938
9944
add1topContextA["animation count"]
9939
-
put DG2_AnimationsAnimationCreate(tReorderControl, "blendLevel", 100, 0, the dgAnimationProp["EditModeEnterExitDuration"] of me, "linear") intopContextA["animations"][pContextA["animation count"]]
9945
+
put DG2_AnimationsAnimationCreate(tReorderControl, "blendLevel", 100, 0, the dgAnimationProp["EditModeEnterExitDuration"] of me, the dgAnimationProp["EditModeEnterExitReorderControlEasing"] of me) intopContextA["animations"][pContextA["animation count"]]
9940
9946
end if
9941
9947
9942
9948
-- If the controls are cached, "LayoutControl" won't be called by the standard draw loop.
-- thus not effected by the control sliding out to the right (which would naturally
9996
10002
-- move the roerder control left).
9997
10003
add1topContextA["animation count"]
9998
-
put DG2_AnimationsAnimationCreate(tReorderControl, "left", the left oftReorderControl, the left oftReorderControl, the dgAnimationProp["EditModeEnterExitDuration"] of me, the dgAnimationProp["EditModeEnterExitReorderControlEasing"] of me) intopContextA["animations"][pContextA["animation count"]]
10004
+
put DG2_AnimationsAnimationCreate(tReorderControl, "left", the left oftReorderControl, the left oftReorderControl, the dgAnimationProp["EditModeEnterExitDuration"] of me, "linear") intopContextA["animations"][pContextA["animation count"]]
9999
10005
add1topContextA["animation count"]
10000
10006
10001
-
put DG2_AnimationsAnimationCreate(tReorderControl, "blendLevel", 0, 100, the dgAnimationProp["EditModeEnterExitDuration"] of me, "linear") intopContextA["animations"][pContextA["animation count"]]
10007
+
put DG2_AnimationsAnimationCreate(tReorderControl, "blendLevel", 0, 100, the dgAnimationProp["EditModeEnterExitDuration"] of me, the dgAnimationProp["EditModeEnterExitReorderControlEasing"] of me) intopContextA["animations"][pContextA["animation count"]]
10002
10008
end if
10003
10009
10004
10010
-- If the controls are cached, "LayoutControl" won't be called by the standard draw loop.
@@ -188,11 +186,12 @@ before LayoutControl pControlRect, pWorkingRect
188
186
end if
189
187
190
188
iftReorderControlis notemptythen
191
-
-- We only need to worry about the top of the reorder control. It's
192
-
-- horizontal position will be set when entering edit mode.
189
+
-- We can't rely on the right of the control rect to be the right of
190
+
-- the list group: When animating out of edit mode, the control rect
191
+
-- can be extended to the right to make room for the animation. So,
192
+
-- use the right of the list group to postion the reorder control.
193
193
setthe visible oftReorderControltotrue
194
-
setthe top oftReorderControltoitem2ofpControlRect+ (item4ofpControlRect-item2ofpControlRect-the height oftReorderControl) /2
195
-
--set the topRight of tReorderControl to item 3 of pControlRect, item 2 of pControlRect + (item 4 of pControlRect - item 2 of pControlRect - the height of tReorderControl) / 2
194
+
setthe topRight oftReorderControltomin(item3ofpControlRect, therightof group "dgList"ofthe dgControl of me), item2ofpControlRect+ (item4ofpControlRect-item2ofpControlRect-the height oftReorderControl) /2
0 commit comments