Quellcode durchsuchen

change captureBitmap() to capturePixels()

bstouls vor 10 Jahren
Ursprung
Commit
359ef503c9
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      hxd/net/PropInspector.hx

+ 1 - 1
hxd/net/PropInspector.hx

@@ -481,7 +481,7 @@ class PropInspector extends cdb.jq.Client {
 							var p = createPanel("" + t);
 							var p = createPanel("" + t);
 							p.html("Loading...");
 							p.html("Loading...");
 							haxe.Timer.delay(function() {
 							haxe.Timer.delay(function() {
-								var bmp = t.captureBitmap();
+								var bmp = t.capturePixels();
 								var png = bmp.toPNG();
 								var png = bmp.toPNG();
 								bmp.dispose();
 								bmp.dispose();
 								var pngBase64 = new haxe.crypto.BaseCode(haxe.io.Bytes.ofString("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/")).encodeBytes(png).toString();
 								var pngBase64 = new haxe.crypto.BaseCode(haxe.io.Bytes.ofString("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/")).encodeBytes(png).toString();