fix loading to use and return layer tree

This commit is contained in:
2025-08-09 11:42:37 +01:00
parent 940e4429a7
commit 99a47a410f
7 changed files with 99 additions and 37 deletions

View File

@@ -31,11 +31,7 @@ struct
| ARROW_DOWN
| KEY_ENTER
| KEY_SPACE
| USE_SQUARES of
{ squares: {r: int, g: int, b: int, a: int} vector vector
, canvasWidth: int
, canvasHeight: int
}
| USE_LAYERS of {tree: LayerTree.t, canvasWidth: int, canvasHeight: int}
| SQUARES_LOAD_ERROR
| FILE_BROWSER_AND_PATH of
{fileBrowser: AppType.file_browser_item vector, path: string}