adjust static variables with card dimensions
authorMatteo Nastasi <nastasi@alternativeoutput.it>
Sun, 3 May 2020 08:42:01 +0000 (10:42 +0200)
committerMatteo Nastasi <nastasi@alternativeoutput.it>
Sun, 3 May 2020 08:42:01 +0000 (10:42 +0200)
web/briskin5/dnd.js

index 12b4b47..1b33b31 100644 (file)
@@ -45,6 +45,7 @@ var takes_nw_n;
 var cards_we_n;
 var takes_we_n;
 
+/*
 /* width of images */
 var cards_width = 55 + 2; 
 var cards_width_d2 =  27; 
@@ -52,6 +53,15 @@ var cards_width_d2 =  27;
 /* height of images */
 var cards_height = 101 + 2; 
 var cards_height_d2 =   51; 
+*/
+
+/* width of images */
+var cards_width = 75 + 2; 
+var cards_width_d2 =  37; 
+
+/* height of images */
+var cards_height = 121 + 2; 
+var cards_height_d2 =   61;
 
 /* width of hands area */
 var hands_width = 400;