Skip to content

Commit

Permalink
fix: page change tiles use onGenericClick
Browse files Browse the repository at this point in the history
  • Loading branch information
andantet committed Nov 14, 2024
1 parent e525b2c commit e116695
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ kotlin_version=2.0.21
fabric_kotlin_version=1.12.3

# mod properties
mod_version=1.9.3
mod_version=1.9.4
maven_group=net.mcbrawls
mod_id=slate
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ abstract class PagedSlateLayer(
tooltip(title)

callbacks {
onClick { slate, tile, context ->
onGenericClick { slate, tile, context ->
currentPage = modifier.invoke(currentPage)
updateTileGrid()
callback?.onClick(slate, tile, context)
Expand Down

0 comments on commit e116695

Please sign in to comment.