Skip to content

Commit 8c2d1cd

Browse files
authored
Merge pull request #239 from ThePandaDever/patch-1
added a icn boundry preview thing and changed the zoom thing
2 parents 22fc4ea + a3bb677 commit 8c2d1cd

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

OSL Programs/apps/System/.Install_system.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@
263263
"path": "Origin/(A) System/User Applications",
264264
"name": "Studio.osl",
265265
"icon": "c #8e2d2d w 10 square 0 0 5 5 c #0a0303 w 8 square 0 0 5 5 dot 0 0 c #8e2d2d w 1.5 line 2 3 5 0 cont 2 -3 line -2 3 -5 0 cont -2 -3",
266-
"version":"5.7"
266+
"version":"5.8"
267267
},
268268
{
269269
"url": "https://origin.mistium.com/OSL%20Programs/apps/System/Contacts.osl",

OSL Programs/apps/System/Studio.osl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -497,11 +497,11 @@ def sidebarButtons(file_uuid, input_name) (
497497
)
498498
)
499499
if frame.interactable (
500-
icn.zoom += scroll_velocity / 10
500+
icn.zoom += system_os == "Windows" ? scroll_velocity / -100 scroll_velocity / 10
501501
)
502502
goto self.icn.display
503-
c c_text
504-
icon inputs[self.input_name].join(" ") icn.zoom
503+
c c_seco
504+
icon "w 0 square 0 0 10 9999 square 0 0 9999 10 w 5 c" + c_text + inputs[self.input_name].join(" ") icn.zoom
505505
)
506506
break
507507
)
@@ -755,4 +755,4 @@ if current_tab.startsWith("^") (
755755
frame "clear"
756756
loc 2 2 23 -23
757757
sidebarButtons(current_tab, current_tab)
758-
)
758+
)

0 commit comments

Comments
 (0)