Skip to content

Commit

Permalink
Preserve window shadow
Browse files Browse the repository at this point in the history
  • Loading branch information
Yatao Li committed Sep 23, 2020
1 parent 9dab715 commit cee45d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Views/MainWindow.xaml.fs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ type MainWindow() as this =
this.Cursor <- c

let toggleTitleBar(custom) =
this.SystemDecorations <- if custom then SystemDecorations.None else SystemDecorations.Full
this.SystemDecorations <- if custom then SystemDecorations.BorderOnly else SystemDecorations.Full

let toggleFullscreen(v) =
if not v then
Expand Down

0 comments on commit cee45d3

Please sign in to comment.