Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

rotate from -180 to 180 deg

  • Loading branch information...
commit 3d4ce7d641efb0e6fdaca57dc7857dca630fc182 1 parent a07fbef
@donpark authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  public/js/demo.coffee
View
2  public/js/demo.coffee
@@ -23,7 +23,7 @@ $ ->
switch value
when 'sorted' then deckView.sort()
when 'random' then deckView.shuffle()
- datgui.add(settings, 'rotation').min(0).max(360).step(1).onChange (value) ->
+ datgui.add(settings, 'rotation').min(-180).max(180).step(1).onChange (value) ->
deckView.$el.css
'-ms-transform': "rotate(#{value}deg)"
'-moz-transform': "rotate(#{value}deg)"
Please sign in to comment.
Something went wrong with that request. Please try again.