mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-27 14:45:30 +03:00
Make serialVersionUID static
* Some minor cleanup
This commit is contained in:
parent
dca632d0d8
commit
571e189ecd
@ -45,7 +45,10 @@ open class Controller(val id : Int, var type : ControllerType, var rumbleDeviceD
|
||||
/**
|
||||
* The current version of this class so that different versions won't be deserialized mistakenly
|
||||
*/
|
||||
private val serialVersionUID = 0L
|
||||
companion object {
|
||||
@JvmStatic
|
||||
private val serialVersionUID = 6529685098267757690L
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -249,8 +249,8 @@ class Controls(onScreenControllerView : OnScreenControllerView) {
|
||||
* We can take any of the global scale variables from the buttons
|
||||
*/
|
||||
var globalScale
|
||||
get() = circularButtons[0].config.globalScale
|
||||
get() = circularButtons.first().config.globalScale
|
||||
set(value) {
|
||||
circularButtons[0].config.globalScale = value
|
||||
circularButtons.first().config.globalScale = value
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user