Fix minimap mouse dragging behaviour (#2466)

Sorry *that* ScrollPane was never meant to go *there*
This commit is contained in:
SomeTroglodyte 2020-04-19 15:58:13 +02:00 committed by GitHub
parent cd9737df9f
commit e599a2007e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,12 +1,12 @@
package com.unciv.ui.worldscreen
import com.unciv.ui.utils.AutoScrollPane as ScrollPane
import com.badlogic.gdx.graphics.Color
import com.badlogic.gdx.scenes.scene2d.Event
import com.badlogic.gdx.scenes.scene2d.Group
import com.badlogic.gdx.scenes.scene2d.InputListener
import com.badlogic.gdx.scenes.scene2d.ui.Image
import com.badlogic.gdx.scenes.scene2d.ui.Table
import com.badlogic.gdx.scenes.scene2d.ui.ScrollPane
import com.badlogic.gdx.utils.Align
import com.unciv.UncivGame
import com.unciv.logic.HexMath
@ -152,4 +152,4 @@ class MinimapHolder(mapHolder: WorldMapHolder): Table(){
isVisible = UncivGame.Current.settings.showMinimap
minimap.update(civInfo)
}
}
}