add fixme note for tomorrow

This commit is contained in:
griffi-gh 2024-03-25 02:13:50 +01:00
parent 7daf4c44fa
commit 36e6fc50ec

View file

@ -40,6 +40,8 @@ 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();