Skip to content

Commit ecefc81

Browse files
committed
Poco unobstructed
1 parent d284542 commit ecefc81

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

build/devices/pebble/modules/poco/poco-pebble.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
import Poco from "commodetto/PocoCore";
2222
import Bitmap from "commodetto/Bitmap"
23+
import PebbleDisplay from "pebble/display"
2324

2425
let cache;
2526

@@ -34,6 +35,7 @@ Poco.prototype.drawRoundRect = function(x0, y0, x1, y1, color, radius, corners)
3435
Poco.prototype.frameRoundRect = function(x0, y0, x1, y1, color, radius) { return native("xs_pocopebbble_frameRoundRect").call(this, x0, y0, x1, y1, color, radius); };
3536
Poco.prototype.drawCircle = function(color, x, y, r, from, to) { return native("xs_pocopebbble_drawCircle").call(this, color, x, y, r, from, to); };
3637
Poco.prototype.drawDCI = function(dci, x, y) { return native("xs_pocopebbble_drawDCI").call(this, dci, x, y); };
38+
Poco.prototype.unobstructed = PebbleDisplay.prototype.unobstructed;
3739

3840
function build(id) { return native("xs_pebblebitmap_build").call(this, id); }
3941

0 commit comments

Comments
 (0)