mirror of
https://github.com/yairm210/Unciv.git
synced 2024-12-22 17:34:24 +07:00
fix: Scroll position indicators do not block minimap clicks
This commit is contained in:
parent
f018b78f83
commit
f791b70997
@ -64,7 +64,7 @@ class Minimap(val mapHolder: WorldMapHolder, minimapSize: Int, private val civIn
|
||||
addActor(borderLayer)
|
||||
addActor(cityLayer)
|
||||
|
||||
val scrollIndicatorLayer = Group()
|
||||
val scrollIndicatorLayer = Group().apply { touchable = Touchable.disabled } // Do not block!
|
||||
scrollIndicatorLayer.setSize(width, height)
|
||||
scrollPositionIndicators = createScrollPositionIndicators()
|
||||
scrollPositionIndicators.forEach(scrollIndicatorLayer::addActor)
|
||||
|
Loading…
Reference in New Issue
Block a user