Browse Source

Layer preview fix

luboslenco 6 năm trước cách đây
mục cha
commit
c58f674934
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      Sources/arm/Layers.hx

+ 4 - 0
Sources/arm/Layers.hx

@@ -93,6 +93,10 @@ class Layers {
 
 
 		g.begin();
 		g.begin();
 		iron.App.removeRender(clearLastLayer);
 		iron.App.removeRender(clearLastLayer);
+
+		#if krom_linux
+		Context.layerPreviewDirty = true;
+		#end
 	}
 	}
 
 
 	public static function resizeLayers(g:kha.graphics4.Graphics) {
 	public static function resizeLayers(g:kha.graphics4.Graphics) {