swift-cross-ui
swift-cross-ui copied to clipboard
Move to using Double and safely converting to correct Int
trafficstars
Currently we directly convert from Int to Int32 or UInt32 and this conversion is not safe. We should instead make a safe conversion between what swift-cross-ui api asks and what Gtk needs. When we make this we might as well standardize to using Double as SwiftUI uses it everywhere.