Closed xTibor closed 2 years ago
Move auto-centering from here into the widget itself as a new property: https://github.com/xTibor/egui_extras_xt/blob/fab481ab8fc4e2dcca5afa55fe8beba05feaf802/egui_extras_xt_example/src/bin/showcase_demo.rs#L502-L504
Centering should be based on the X and Y ranges.
Move auto-centering from here into the widget itself as a new property: https://github.com/xTibor/egui_extras_xt/blob/fab481ab8fc4e2dcca5afa55fe8beba05feaf802/egui_extras_xt_example/src/bin/showcase_demo.rs#L502-L504
Centering should be based on the X and Y ranges.