Skip to content

Commit 855fe25

Browse files
authored
new files app update
1 parent 06f6460 commit 855fe25

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

OSL Programs/apps/System/.Install_system.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@
221221
"path": "Origin/(A) System/User Applications",
222222
"name": "Files.osl",
223223
"icon": "w 10 c #ff724f square 0 0 5 5 w 8 c #111 square 0 0 5 5 w 2.5 c #ff724f square -4 3 1 1 line -2.5 3.5 1.5 0 square 0 -1 5 2.5 w 4 square 0 -1 4 1",
224-
"version":"5.1"
224+
"version":"5.2"
225225
},
226226
{
227227
"url": "https://origin.mistium.com/OSL%20Programs/apps/System/Settings.osl",

OSL Programs/apps/System/Files.osl

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def "navigate" "path" (
3939
input_path = path
4040
)
4141

42-
def "sort_files(files)" (
42+
def sort_files(files) (
4343
new_files = []
4444
each i file files (
4545
obj = {}
@@ -436,15 +436,15 @@ def "render_files" (
436436
)
437437
text "Empty Bin" 9 : c#txtc chx#-40
438438
)
439-
goto this.temp_x + 55 this.temp_y + 15
439+
goto temp_x + 55 temp_y + 15
440440
sorting_option "Name"
441-
set_x this.temp_x2 - 115
441+
set_x temp_x2 - 115
442442
sorting_option "Size"
443-
set_x this.temp_x2 - 260
443+
set_x temp_x2 - 260
444444
sorting_option "Filetype"
445445

446446
if frm_w > 600 (
447-
set_x this.temp_x2 - 410
447+
set_x temp_x2 - 410
448448
sorting_option "Modified"
449449
)
450450
)
@@ -527,10 +527,14 @@ mainloop:
527527
)
528528
loc 2 2 20 -118
529529
if sideshow "change 250"
530-
icon "add" 0.7 : c#txtc
530+
icon "file" 0.7 : c#txtc
531531
if onclick (
532532
window "add" "New_File" input_path
533533
)
534+
icon "folder" 0.7 : chx#30
535+
if onclick (
536+
file "download" "new folder.folder" null null input_path
537+
)
534538
icon "w 3 line 0 -8 0 8" 0.7 : chx#20
535539
change -10
536540
if selected_files.len != 1 (

0 commit comments

Comments
 (0)