Panics when height is greater than width
For example, the code
use orbtk::prelude::*;
fn main() {
Application::new()
.window(|ctx| {
Window::create()
.title("WiCom")
.size(720.0, 1280.0)
.child(TextBlock::create().text("OrbTk").build(ctx))
.build(ctx)
})
.run();
}
panics with the following message:
thread 'main' panicked at 'attempt to subtract with overflow', /home/jacob/.cargo/registry/src/github.com-1ecc6299db9ec823/minifb-0.13.0/src/os/unix/mod.rs:278:21
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
I'm on Linux w/ x11
Update: I ran the "widgets" example and it seems to work fine, so I don't know what is going on