Skip to content

Commit 3d4ce7d

Browse files
committed
rotate from -180 to 180 deg
1 parent a07fbef commit 3d4ce7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/js/demo.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ $ ->
2323
switch value
2424
when 'sorted' then deckView.sort()
2525
when 'random' then deckView.shuffle()
26-
datgui.add(settings, 'rotation').min(0).max(360).step(1).onChange (value) ->
26+
datgui.add(settings, 'rotation').min(-180).max(180).step(1).onChange (value) ->
2727
deckView.$el.css
2828
'-ms-transform': "rotate(#{value}deg)"
2929
'-moz-transform': "rotate(#{value}deg)"

0 commit comments

Comments
 (0)