Skip to content

Commit

Permalink
Update Activity.osl
Browse files Browse the repository at this point in the history
  • Loading branch information
Mistium authored Apr 10, 2024
1 parent 6127f39 commit 46193c7
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions OSL Programs/apps/System/Activity.osl
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,9 @@ if activity_info (
current = windows-names.index(page)
dt = windows-drawtimes.[current].[1]
pr = windows-drawtimes.[current].[2]
graph = graph.append(dt)
if graph.len > 30 "graph = graph.delete(1)"
dt2 = dt / 10
graph.append(dt2)
graph.delete(1)
)
c #fff
count = 0
Expand All @@ -85,7 +86,9 @@ if activity_info (
text pr.[count] 10
)
goto 0 0
graph wwm whm graph
graph window_width - 50 window_height - 50 graph
loc -2 -2 -125 10
text "Lower is faster" 8
exit
)
wwm = window_width - 50 / 100
Expand Down Expand Up @@ -141,8 +144,8 @@ icon "w 3 line 5 10 -5 10 cont -10 5 cont -10 -5 cont -5 -10 cont 5 -10 cont 10
c #fff
if current_tab == "Performance" (
window "responsive" True
goto 25 0
graph frame_width frame_height graph
goto 25 -25
graph window_width - 50 frame_height - 50 graph
)
if current_tab == "Network" (
window "responsive" False
Expand Down

0 comments on commit 46193c7

Please sign in to comment.