mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2025-05-13 05:11:10 +00:00
Fixed keepGoing with single tab.
This commit is contained in:
parent
b123b19ca5
commit
95046d9299
5 changed files with 13 additions and 7 deletions
js/technical
|
@ -49,11 +49,10 @@ function achievementStyle(layer, id){
|
|||
|
||||
|
||||
|
||||
|
||||
function updateWidth() {
|
||||
var screenWidth = window.innerWidth
|
||||
|
||||
var splitScreen = screenWidth >= 1024
|
||||
let screenWidth = window.innerWidth
|
||||
let last = tmp.other.splitScreen
|
||||
let splitScreen = screenWidth >= 1024
|
||||
if (player.forceOneTab) splitScreen = false
|
||||
if (player.navTab == "none") splitScreen = true
|
||||
tmp.other.screenWidth = screenWidth
|
||||
|
@ -61,6 +60,7 @@ function updateWidth() {
|
|||
|
||||
tmp.other.splitScreen = splitScreen
|
||||
tmp.other.lastPoints = player.points
|
||||
if (last !== tmp.other.splitScreen) needCanvasUpdate = true
|
||||
}
|
||||
|
||||
function updateOomps(diff)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue