Skip to content

Commit bdf115c

Browse files
committed
Make window transparent and undecorated in DemoWithContextMenu.
1 parent 4fe8a40 commit bdf115c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

demo/src/jvmMain/kotlin/com/kdroid/composetray/demo/DemoWithContextMenu.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,8 @@ fun main() = application {
209209
}
210210

211211
Window(
212+
transparent = true,
213+
undecorated = true,
212214
onCloseRequest = {
213215
if (hideOnClose) {
214216
isWindowVisible = false

0 commit comments

Comments
 (0)