File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
current-scripts/Demos/useful-scripts/objects Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ for (var i=view_area.x; i<=view_area.y; i++) {
1919 } else if (view_scroll_progress_y.v > 0 && i == view_area.x ) {
2020 // Scroll down first element
2121 draw_set_alpha (1 -abs (view_scroll_progress_y.v ));
22+ } else {
23+ draw_set_alpha (1 );
2224 }
2325 }
2426
Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ for (var i=view_area.left; i<=view_area.right; i++) {
2525 } else if (view_scroll_progress_x.v > 0 && i == view_area.left ) {
2626 // Scroll right first element
2727 draw_set_alpha (1 -abs (view_scroll_progress_x.v ));
28+ } else {
29+ draw_set_alpha (1 );
2830 }
2931 }
3032
@@ -35,6 +37,8 @@ for (var i=view_area.left; i<=view_area.right; i++) {
3537 } else if (view_scroll_progress_y.v > 0 && j == view_area.top ) {
3638 // Scroll down first element
3739 draw_set_alpha (1 -abs (view_scroll_progress_y.v ));
40+ } else {
41+ draw_set_alpha (1 );
3842 }
3943 }
4044
You can’t perform that action at this time.
0 commit comments