Fix pad compile

This commit is contained in:
luboslenco
2023-04-28 19:32:06 +02:00
parent d9cf7e07fc
commit 21d7b60fe6
3 changed files with 6 additions and 2 deletions
+2 -1
View File
@@ -29,5 +29,6 @@
"FILL_BUTTON_BG": false,
"FILL_ACCENT_BG": false,
"LINK_STYLE": 0,
"FULL_TABS": false
"FULL_TABS": false,
"ROUND_CORNERS": false
}
+4
View File
@@ -258,6 +258,10 @@ class Main {
minimap.g2.color = 0xff333333;
var lines = storage.text.split("\n");
for (i in 0...lines.length) {
if (i * 2 > minimap_h) {
// Out of screen
break;
}
var words = lines[i].split(" ");
var x = 0;
for (j in 0...words.length) {
-1
View File
@@ -3,7 +3,6 @@ let project = new Project("ArmorPad");
let root = "../../";
project.addSources("Sources");
project.addAssets("Assets/themes/*.json", { destination: "data/themes/{name}" });
project.addLibrary(root + "../base");
project.addShaders(root + "armorcore/Shaders/*.glsl",);
project.addAssets(root + "base/Assets/font_mono.ttf", { destination: "data/{name}" });
project.addAssets(root + "base/Assets/text_coloring.json", { destination: "data/{name}" });