mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2026-02-07 02:52:42 +08:00
call __mg_sync_special_nodes for new layer
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -705,6 +705,8 @@ MG_Layer* GUIAPI ServerCreateLayer (const char* layer_name,
|
||||
new_layer->next = mgLayers;
|
||||
mgLayers = new_layer;
|
||||
|
||||
__mg_sync_special_nodes (__mg_def_zorder_info, new_layer->zorder_info);
|
||||
|
||||
/* Notify that a new layer created. */
|
||||
if (OnChangeLayer)
|
||||
OnChangeLayer (LCO_NEW_LAYER, new_layer, NULL);
|
||||
|
||||
Reference in New Issue
Block a user