File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
src/desktopMain/kotlin/org/jetbrains/compose/storytale/generated Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ plugins {
11
11
alias(libs.plugins.jetbrainsCompose)
12
12
alias(libs.plugins.compose.compiler)
13
13
alias(libs.plugins.serialization)
14
- id(" org.jetbrains.compose.hot-reload" ) version " 1.0.0-alpha03 "
14
+ id(" org.jetbrains.compose.hot-reload" ) version " 1.0.0-alpha10 "
15
15
}
16
16
17
17
class StorytaleCompilerPlugin : KotlinCompilerPluginSupportPlugin {
@@ -116,6 +116,7 @@ composeCompiler {
116
116
featureFlags.add(ComposeFeatureFlag .OptimizeNonSkippingGroups )
117
117
}
118
118
119
- tasks.register<ComposeHotRun >(" runHot" ) {
119
+ // ./gradlew :gallery-demo:desktopRunHot --auto
120
+ tasks.withType<ComposeHotRun >().configureEach {
120
121
mainClass.set(" storytale.gallery.demo.MainKt" )
121
122
}
Original file line number Diff line number Diff line change @@ -3,17 +3,15 @@ package org.jetbrains.compose.storytale.generated
3
3
import androidx.compose.ui.unit.dp
4
4
import androidx.compose.ui.window.WindowState
5
5
import androidx.compose.ui.window.singleWindowApplication
6
- import org.jetbrains.compose.reload.DevelopmentEntryPoint
7
6
import org.jetbrains.compose.storytale.gallery.material3.StorytaleGalleryApp
8
7
9
8
// To let the Storytale compiler plugin add the initializations for stories
10
9
@Suppress(" ktlint:standard:function-naming" )
11
10
fun MainViewController () {
12
11
singleWindowApplication(
13
12
state = WindowState (width = 800 .dp, height = 800 .dp),
13
+ alwaysOnTop = true ,
14
14
) {
15
- DevelopmentEntryPoint {
16
- StorytaleGalleryApp ()
17
- }
15
+ StorytaleGalleryApp ()
18
16
}
19
17
}
You can’t perform that action at this time.
0 commit comments