add web sync files and key events
This commit is contained in:
@@ -9,6 +9,8 @@
|
||||
#ifdef __APPLE__
|
||||
#include <Foundation/Foundation.h>
|
||||
#import "objc_utils.h"
|
||||
#elif __WEB__
|
||||
void webgl_sync();
|
||||
#endif
|
||||
|
||||
|
||||
@@ -2180,6 +2182,9 @@ bool Canvas::project_save_thread(std::string file_path, bool show_progress)
|
||||
{
|
||||
m_unsaved = false;
|
||||
m_newdoc = false;
|
||||
#if __WEB__
|
||||
webgl_sync();
|
||||
#endif
|
||||
}
|
||||
|
||||
if (show_progress)
|
||||
|
||||
Reference in New Issue
Block a user