slightly borked the rebase
@@ -5,6 +5,7 @@ use crate::input::mouse::MouseButton;
use crate::math::MintVec2;
use crate::style::StyleColor;
use crate::sys;
+use crate::Style;
use crate::Ui;
bitflags! {
@@ -178,7 +179,6 @@ impl<'ui> Ui<'ui> {
pub fn style_color(&self, style_color: StyleColor) -> [f32; 4] {
self.ctx.style()[style_color]
}
-}
/// Returns a shared reference to the current [`Style`].
///
@@ -195,3 +195,4 @@ impl<'ui> Ui<'ui> {
pub unsafe fn style(&self) -> &Style {
self.ctx.style()
}
+}
