Route export storage hooks through platform services

This commit is contained in:
2026-06-04 16:34:19 +02:00
parent 3c709f07e6
commit 6419645e03
12 changed files with 86 additions and 23 deletions

View File

@@ -9,8 +9,6 @@
#ifdef __APPLE__
#include <Foundation/Foundation.h>
#elif __WEB__
void webgl_sync();
#endif
#include "canvas.h"
@@ -244,9 +242,7 @@ bool NodePanelBrush::save()
}
f.write((char*)sw.m_data.data(), sw.m_data.size());
f.close();
#if __WEB__
webgl_sync();
#endif
App::I->flush_platform_storage();
return true;
}
return false;