Skip to content

Commit ea9ff83

Browse files
leandroBorgesFerreiraLeandro Ferreira
andauthored
Equation drawer (#492)
* Sketch of equation drawer * fixing ktlint * Polishing equation editor * sdk version bump * code clean --------- Co-authored-by: Leandro Ferreira <[email protected]>
1 parent b53595d commit ea9ff83

60 files changed

Lines changed: 403 additions & 6 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

application/common_flows/wide_screen_common/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ plugins {
88
}
99

1010
kotlin {
11+
jvmToolchain(21)
12+
1113
jvm()
1214
js(IR) {
1315
browser()

application/composeApp/build.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ plugins {
1010
}
1111

1212
kotlin {
13+
jvmToolchain(21)
14+
1315
jvm {}
1416

1517
androidTarget()
@@ -66,6 +68,7 @@ kotlin {
6668

6769
implementation(libs.compose.navigation)
6870
implementation(libs.platformtools.darkmodedetector)
71+
implementation(libs.coil.compose)
6972
}
7073
}
7174

application/composeApp/src/jvmMain/kotlin/io/writeopia/desktop/MainDesktop.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,10 @@ private fun ApplicationScope.App(onCloseRequest: () -> Unit = ::exitApplication)
169169
sendEvent(KeyboardEvent.REDO)
170170
false
171171
}
172+
KeyboardCommands.isEquationEvent(keyEvent) -> {
173+
sendEvent(KeyboardEvent.EQUATION)
174+
false
175+
}
172176

173177
else -> false
174178
}

application/core/auth_core/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ plugins {
77
}
88

99
kotlin {
10+
jvmToolchain(21)
11+
1012
jvm {}
1113
androidTarget()
1214

application/core/common_ui/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ plugins {
66
}
77

88
kotlin {
9+
jvmToolchain(21)
10+
911
jvm {}
1012

1113
androidTarget()

application/core/common_ui_tests/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ plugins {
88
}
99

1010
kotlin {
11+
jvmToolchain(21)
12+
1113
jvm {}
1214
sourceSets {
1315
val commonMain by getting {

application/core/configuration/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ plugins {
44
}
55

66
kotlin {
7+
jvmToolchain(21)
8+
79
jvm {}
810

911
androidTarget()

application/core/connection/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ plugins {
44
}
55

66
kotlin {
7+
jvmToolchain(21)
8+
79
jvm {}
810

911
androidTarget()

application/core/documents/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ plugins {
66
}
77

88
kotlin {
9+
jvmToolchain(21)
10+
911
jvm {}
1012

1113
androidTarget()

application/core/forcegraph/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ plugins {
77
}
88

99
kotlin {
10+
jvmToolchain(21)
11+
1012
androidTarget()
1113

1214
jvm()

0 commit comments

Comments
 (0)