Skip to content

Commit

Permalink
chore: bump guiy
Browse files Browse the repository at this point in the history
  • Loading branch information
Boy0000 committed Jun 12, 2024
1 parent e897ca7 commit 0b57d2b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[versions]
gearyPaper = "0.30.1"
guiy="0.10.0"
guiy="0.12.1"

[libraries]
geary-papermc = { module = "com.mineinabyss:geary-papermc", version.ref = "gearyPaper" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package com.mineinabyss.packy.config
import co.touchlab.kermit.Severity
import com.charleskorn.kaml.YamlComment
import com.mineinabyss.guiy.modifiers.Modifier
import com.mineinabyss.guiy.modifiers.at
import com.mineinabyss.guiy.modifiers.placement.absolute.at
import com.mineinabyss.guiy.modifiers.size
import com.mineinabyss.idofront.serialization.DurationSerializer
import com.mineinabyss.idofront.serialization.SerializableItemStack
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.mineinabyss.packy.menus.picker

import androidx.compose.runtime.*
import com.mineinabyss.guiy.components.Grid
import com.mineinabyss.guiy.components.Item
import com.mineinabyss.guiy.components.VerticalGrid
import com.mineinabyss.guiy.modifiers.Modifier
import com.mineinabyss.guiy.modifiers.click.clickable
import com.mineinabyss.idofront.items.editItemMeta
Expand Down Expand Up @@ -63,7 +63,7 @@ fun PackyMenu() {
@Composable
fun CycleButton(subMenu: PackyConfig.PackySubMenu, pack: PackyConfig.PackyPack, onClick: () -> Unit) {
val modifier = subMenu.modifiers.offset.toAtModifier()
Grid(subMenu.modifiers.size.toSizeModifier(modifier)) {
VerticalGrid(subMenu.modifiers.size.toSizeModifier(modifier)) {
Button(enabled = true, onClick = onClick) {
Item(subMenu.button.toItemStack(pack.button?.toItemStackOrNull() ?: ItemStack.empty()), subMenu.modifiers.size.toSizeModifier())
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package com.mineinabyss.packy.menus.picker
import androidx.compose.runtime.Composable
import com.mineinabyss.guiy.components.Item
import com.mineinabyss.guiy.modifiers.Modifier
import com.mineinabyss.guiy.modifiers.at
import com.mineinabyss.guiy.modifiers.placement.absolute.at
import com.mineinabyss.packy.components.packyData
import com.mineinabyss.packy.config.PackyConfig
import com.mineinabyss.packy.config.packy
Expand Down

0 comments on commit 0b57d2b

Please sign in to comment.