If you have an issue with any of our projects. feel free to register.

Commit f7e2d002 authored by Dmitry Nevedomsky's avatar Dmitry Nevedomsky

Align Info Inspector with app's MainWindow.

parent a8fe9d6a
This diff is collapsed.
......@@ -55,8 +55,15 @@
if ([[self window] isVisible])
[[self window] orderOut:self];
[self showWindow:self];
else {
if ([NSApp mainWindow]) {
NSRect rect = [[NSApp mainWindow] frame];
// Align Info Inspector HUD Panel to the right of Main Window.
NSPoint point = NSMakePoint(NSMaxX(rect), NSMaxY(rect));
[[self window] setFrameTopLeftPoint:point];
[self showWindow:self];
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment