Skip to content

Commit cacb565

Browse files
committed
use latest wear API in watch face example
1 parent 30271ed commit cacb565

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/Topics/Watchfaces/WatchFace/WatchFace.pde

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ void setup() {
66
}
77

88
void draw() {
9-
translate(0, +insetBottom/2);
9+
translate(0, +wearInsets().bottom/2);
1010

11-
if (ambientMode) {
11+
if (wearAmbient()) {
1212
background(0);
1313
stroke(255);
1414
noFill();

0 commit comments

Comments
 (0)