Skip to content

Commit 7709265

Browse files
committed
fix merge conflicts
1 parent 8d4b8d9 commit 7709265

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

examples/colors.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ pub fn animateRandomColor(button_: *anyopaque) !void {
1515
rect.color.animate(capy.Easings.InOut, randomColor, 1000);
1616
}
1717

18-
pub fn start() !void {
18+
pub fn main() !void {
1919
try capy.init();
2020
var window = try capy.Window.init();
2121
prng = std.rand.DefaultPrng.init(@as(u64, @bitCast(std.time.milliTimestamp())));
@@ -28,5 +28,5 @@ pub fn start() !void {
2828
}),
2929
}));
3030
window.show();
31-
// capy.runEventLoop();
31+
capy.runEventLoop();
3232
}

src/backends/wasm/backend.zig

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -488,16 +488,6 @@ pub const Container = struct {
488488
_ = self;
489489
}
490490

491-
pub fn remove(self: *const Container, peer: PeerType) void {
492-
_ = peer;
493-
_ = self;
494-
}
495-
496-
pub fn setTabOrder(self: *const Container, peers: []const PeerType) void {
497-
_ = peers;
498-
_ = self;
499-
}
500-
501491
pub fn move(self: *const Container, peer: PeerType, x: u32, y: u32) void {
502492
_ = self;
503493
js.setPos(peer.element, x, y);

0 commit comments

Comments
 (0)