mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 05:14:53 -05:00
Update main.js
This commit is contained in:
@@ -30,6 +30,7 @@ function initiate() {
|
|||||||
document.getElementById("displayCanvas").width = cardWidth;
|
document.getElementById("displayCanvas").width = cardWidth;
|
||||||
document.getElementById("displayCanvas").height = cardHeight;
|
document.getElementById("displayCanvas").height = cardHeight;
|
||||||
window.displayContext = displayCanvas.getContext("2d");
|
window.displayContext = displayCanvas.getContext("2d");
|
||||||
|
<<<<<<< HEAD
|
||||||
newCanvas("frameMask");
|
newCanvas("frameMask");
|
||||||
newCanvas("frameFinal");
|
newCanvas("frameFinal");
|
||||||
newCanvas("cardFinal");
|
newCanvas("cardFinal");
|
||||||
@@ -38,6 +39,13 @@ function initiate() {
|
|||||||
//initiation is complete, ready to load image data
|
//initiation is complete, ready to load image data
|
||||||
console.log("init done");
|
console.log("init done");
|
||||||
loadImageCSV();
|
loadImageCSV();
|
||||||
|
=======
|
||||||
|
// loadScript("data/scripts/sortable.js");
|
||||||
|
import Sortable from "./sortable.js";
|
||||||
|
var el = document.getElementById('items');
|
||||||
|
// var sortable = Sortable.create(el);
|
||||||
|
console.log("init done")
|
||||||
|
>>>>>>> 14a4104f200c050a672892cadd01502c7e047d63
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user