From dfcd4af0aa79cca9902854cd63f69c341509c65b Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Mon, 25 Mar 2024 02:45:43 +0100 Subject: [PATCH] remove fixme comment, fixed by ogl backend change --- hui/src/frame/nine_patch.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/hui/src/frame/nine_patch.rs b/hui/src/frame/nine_patch.rs index b04d741..1af14dd 100644 --- a/hui/src/frame/nine_patch.rs +++ b/hui/src/frame/nine_patch.rs @@ -40,8 +40,6 @@ impl Default for NinePatchFrame { impl Frame for NinePatchFrame { fn draw(&self, draw: &mut crate::draw::UiDrawCommandList, position: glam::Vec2, parent_size: glam::Vec2) { - //FIXME: this algrorightm shїts itself when parent_size < img_sz - // without this, shїt gets messed up when the position is not a whole number //XXX: should we round the size as well? let position = position.round();