فهرست منبع

change captureBitmap() to capturePixels()

bstouls 10 سال پیش
والد
کامیت
359ef503c9
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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);
 							p.html("Loading...");
 							haxe.Timer.delay(function() {
-								var bmp = t.captureBitmap();
+								var bmp = t.capturePixels();
 								var png = bmp.toPNG();
 								bmp.dispose();
 								var pngBase64 = new haxe.crypto.BaseCode(haxe.io.Bytes.ofString("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/")).encodeBytes(png).toString();