Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
peach-cgt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Let drags go off the edge
[peach-cgt.git]
/
client.coffee
diff --git
a/client.coffee
b/client.coffee
index
6da0968
..
b480d04
100644
(file)
--- a/
client.coffee
+++ b/
client.coffee
@@
-111,7
+111,7
@@
instantiate_card = (card) ->
if card.flipped
view.addClass 'flipped'
$table.append view
- view.draggable containment: '#table', grid: [20, 20]
+ view.draggable grid: [20, 20]
view.bind 'dragstart', (event, ui) ->
view.css 'z-index': card.z = next_card_z()
if card.pile?