From 07b55421f9ce2db2fecbaaa34a3e1b59d6f231a7 Mon Sep 17 00:00:00 2001 From: LagoLunatic Date: Fri, 7 Aug 2026 16:40:56 -0400 Subject: msg inline fixes, remove some fake jsystem inlines --- include/JSystem/J2DGraph/J2DPane.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'include/JSystem/J2DGraph') diff --git a/include/JSystem/J2DGraph/J2DPane.h b/include/JSystem/J2DGraph/J2DPane.h index 81b2e28c..646c7ce3 100644 --- a/include/JSystem/J2DGraph/J2DPane.h +++ b/include/JSystem/J2DGraph/J2DPane.h @@ -54,13 +54,9 @@ public: virtual void move(f32 x, f32 y); virtual void add(f32 x, f32 y); - // fakematch, this fake inline is only needed by the J2DPane::resize call inside of J2DWindow::resize - f32 resize__getMinX() const { return mBounds.i.x; } virtual void resize(f32 w, f32 h) { - f32 x = resize__getMinX(); - x += w; - mBounds.f.x = x; - mBounds.f.y = mBounds.i.y + h; + JGeometry::TVec2 size(w, h); + mBounds.setSize(size); } virtual bool setConnectParent(bool connected) { mIsConnectParent = 0; -- cgit v1.2.3