Skip to content

Commit

Permalink
Remove useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
ShirasawaSama committed Dec 23, 2023
1 parent 1cf80f2 commit df6b89a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ package com.eimsound.daw.components.app
import androidx.compose.foundation.layout.*
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.*
import androidx.compose.material3.Icon
import androidx.compose.material3.LocalContentColor
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Text
import androidx.compose.material3.*
import androidx.compose.runtime.*
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
Expand Down
3 changes: 0 additions & 3 deletions daw/src/jvmMain/kotlin/com/eimsound/daw/dawutils/UIUtils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,6 @@ fun Panel.isActive() = EchoInMirror.windowManager.activePanel == this

val SHOULD_ZOOM_REVERSE = SystemUtils.IS_OS_MAC_OSX

var shouldBeUndecorated by mutableStateOf(SystemUtils.IS_OS_WINDOWS)
private set
@Composable
fun FrameWindowScope.initWindowDecoration() {
if (SystemUtils.IS_OS_WINDOWS) {
Expand All @@ -164,7 +162,6 @@ fun FrameWindowScope.initWindowDecoration() {
try {
windowsDecorateWindow(window.windowHandle)
} catch (e: Throwable) {
shouldBeUndecorated = true
e.printStackTrace()
}
}
Expand Down

0 comments on commit df6b89a

Please sign in to comment.