mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-08 13:49:25 +00:00
Fix #212: persistent Stay on Top
This commit is contained in:
@@ -56,9 +56,13 @@ namespace QuickLook
|
||||
|
||||
windowFrameContainer.PreviewMouseMove += ShowWindowCaptionContainer;
|
||||
|
||||
Topmost = SettingHelper.Get("Topmost", false);
|
||||
buttonTop.Tag = Topmost ? "Top" : "Auto";
|
||||
|
||||
buttonTop.Click += (sender, e) =>
|
||||
{
|
||||
Topmost = !Topmost;
|
||||
SettingHelper.Set("Topmost", Topmost);
|
||||
buttonTop.Tag = Topmost ? "Top" : "Auto";
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user