Skip to content

Commit cf55c60

Browse files
committed
Folder import fixes
1 parent 45090f7 commit cf55c60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

paint/sources/import_folder.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ function import_folder_run(path: string) {
7878
}
7979
for (let i: i32 = 0; i < canvas.nodes.length; ++i) {
8080
let n: ui_node_t = canvas.nodes[i];
81-
if (n.name == "RGB") {
81+
if (n.name == "Color") {
8282
ui_remove_node(n, canvas);
8383
break;
8484
}
@@ -87,7 +87,7 @@ function import_folder_run(path: string) {
8787
// Place nodes
8888
let pos: i32 = 0;
8989
let start_y: i32 = 100;
90-
let node_h: i32 = 164;
90+
let node_h: i32 = 170;
9191
if (mapbase != "") {
9292
import_folder_place_image_node(nodes, canvas, mapbase, start_y + node_h * pos, nout.id, 0);
9393
pos++;

0 commit comments

Comments
 (0)