ActivityMonitor: Settings now modal when always on top enabled.
* #9534 Signed-off-by: Jérôme Duval <[email protected]>
This commit is contained in:
committed by
Jérôme Duval
parent
043ffc015a
commit
89e0a7fb84
@@ -105,6 +105,8 @@ SettingsWindow::SettingsWindow(ActivityWindow* target)
|
||||
.Add(fIntervalSlider)
|
||||
.SetInsets(10, 10, 10, 10)
|
||||
);
|
||||
if (target->IsAlwaysOnTop())
|
||||
SetFeel(B_MODAL_ALL_WINDOW_FEEL);
|
||||
}
|
||||
|
||||
|
||||
@@ -151,4 +153,3 @@ SettingsWindow::_RelativeTo(BWindow* window)
|
||||
return BRect(frame.right - 150, frame.top + frame.Height() / 4,
|
||||
frame.right + 200, frame.top + frame.Height() / 4 + 50);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user