mirror of
https://github.com/griffi-gh/hUI.git
synced 2024-11-21 22:58:42 -06:00
remove fixme comment, fixed by ogl backend change
This commit is contained in:
parent
bd9c3aec81
commit
807c9b087d
|
@ -40,8 +40,6 @@ impl Default for NinePatchFrame {
|
||||||
|
|
||||||
impl Frame for NinePatchFrame {
|
impl Frame for NinePatchFrame {
|
||||||
fn draw(&self, draw: &mut crate::draw::UiDrawCommandList, position: glam::Vec2, parent_size: glam::Vec2) {
|
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
|
// without this, shїt gets messed up when the position is not a whole number
|
||||||
//XXX: should we round the size as well?
|
//XXX: should we round the size as well?
|
||||||
let position = position.round();
|
let position = position.round();
|
||||||
|
|
Loading…
Reference in a new issue