diff --git a/IDE/src/ui/StatusBar.bf b/IDE/src/ui/StatusBar.bf index 120f40b0..38937dbe 100644 --- a/IDE/src/ui/StatusBar.bf +++ b/IDE/src/ui/StatusBar.bf @@ -290,6 +290,8 @@ namespace IDE.ui } #endif + float statusLabelPos = (int)GS!(-1.3f); + //completionPct = 0.4f; if (completionPct.HasValue) { @@ -309,7 +311,7 @@ namespace IDE.ui using (g.PushColor(0x40202080)) g.FillRect(completionRect.mX, completionRect.mY, completionRect.mWidth, completionRect.mHeight); - g.DrawString("Source Changed", GS!(200), GS!(-1.3f), FontAlign.Centered, GS!(120)); + g.DrawString("Source Changed", GS!(200), statusLabelPos, FontAlign.Centered, GS!(120)); } void DrawStatusBox(StringView str, int32 updateCnt = -1) @@ -336,7 +338,7 @@ namespace IDE.ui if (mCancelSymSrvButton != null) mCancelSymSrvButton.mX = completionRect.Right - GS!(16); - g.DrawString(str, x, (int)GS!(-1.3f), FontAlign.Centered, len); + g.DrawString(str, x, statusLabelPos, FontAlign.Centered, len); } if (gApp.mKeyChordState != null) diff --git a/IDE/src/ui/WatchPanel.bf b/IDE/src/ui/WatchPanel.bf index c089ee88..6d6976c1 100644 --- a/IDE/src/ui/WatchPanel.bf +++ b/IDE/src/ui/WatchPanel.bf @@ -2738,7 +2738,7 @@ namespace IDE.ui } } - if (watchEntry.mResultType == .Pointer) + if (watchEntry.mResultType.HasFlag(.Pointer)) { if (int.Parse(watchEntry.mEditInitialize) case .Ok(let addr)) {