Skip to content

Commit 7120aed

Browse files
committed
revertedmax and min
1 parent 2c79ed4 commit 7120aed

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

external_library/gem/toxiclibs/volume_utils/volumetric_cup.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,9 @@ def draw
122122
def key_pressed
123123
case key
124124
when '-'
125-
@curr_scale = max([curr_scale - 0.1, 0.5])
125+
@curr_scale = max(curr_scale - 0.1, 0.5) # processing method
126126
when '='
127-
@curr_scale = min([curr_scale + 0.1, 10])
127+
@curr_scale = min(curr_scale + 0.1, 10) # processing method
128128
when 's'
129129
@do_save = true
130130
when '1'..'9'

0 commit comments

Comments
 (0)