Skip to content

Commit 64fd0be

Browse files
committed
"Fix" hex editor not appearing on top when opened
Terrible hack until I can nuke this plugin from orbit
1 parent fe9c6d8 commit 64fd0be

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Source/Plugins/HexEditor/VanguardConnector.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ public object OnMessageReceived(object sender, NetCoreEventArgs e)
3333
S.SET(new HexEditor());
3434
}
3535
S.GET<HexEditor>().Restart();
36+
// Why does this form refuse to be on top unless it's restored? ¯\_(ツ)_/¯
37+
S.GET<HexEditor>().WindowState = System.Windows.Forms.FormWindowState.Minimized;
3638
S.GET<HexEditor>().Show();
39+
S.GET<HexEditor>().WindowState = System.Windows.Forms.FormWindowState.Normal;
3740
});
3841
}
3942
break;

0 commit comments

Comments
 (0)