Skip to content

Commit c989b6f

Browse files
authored
Merge pull request #235 from NexusKitten/patch-1
Temporary fix for app store bug
2 parents 2996468 + 19cfad2 commit c989b6f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

OSL Programs/apps/System/.Install_system.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@
305305
"path": "Origin/(A) System/User Applications",
306306
"name": "App Store.osl",
307307
"icon": "c #cfc45e w 10 square 0 0 5 5 c #111 w 8 square 0 0 5 5 dot 0 0 w 2 c #cfc45e square -3.5 3.5 2 2 square -3.5 -3.5 2 2 square 3.5 3.5 2 2 line 3.5 -2 3.5 -5 line 2 -3.5 5 -3.5 w 4 dot -3.5 -3.5 dot 3.5 3.5 dot -3.5 3.5",
308-
"version":"5.0"
308+
"version":"5.1"
309309
},
310310
{
311311
"url": "https://origin.mistium.com/Scripts/win_buttons.osl",

OSL Programs/apps/System/App Store.osl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,10 @@ if page == "APPSTORE// List" (
201201
loc 999 2 0 y
202202
cur = apps[count]
203203
square w 50 15 : c#window_colour
204-
if mouse_touching (
204+
// note: the second part of this statement is a bandaid fix
205+
// for an OSL issue where items outside of a frame can still
206+
// be clicked. if that's fixed, the second condition can be removed
207+
if mouse_touching and mouse_y < (wh/2 - 40) (
205208
square w 50 15 : c#seco
206209
square w 50 10 : c#window_colour
207210
if clicked (

0 commit comments

Comments
 (0)