mirror of
https://github.com/jiojciojsioe3/a3cjroijsiojiorj.git
synced 2024-11-22 19:01:51 +08:00
Fix ios landscape again, add html linebreak to mailto
This commit is contained in:
parent
89f352bc60
commit
773684c2cb
@ -120,7 +120,7 @@
|
||||
|
||||
var issueBody = this.issueTemplate.join("\n") + "\n\n\n\n" + diag
|
||||
this.getLink(this.linkGithub).href += "?body=" + encodeURIComponent(issueBody)
|
||||
this.getLink(this.linkEmail).href += "?body=" + encodeURIComponent(issueBody.replace(/\n/g, "\r\n"))
|
||||
this.getLink(this.linkEmail).href += "?body=" + encodeURIComponent(issueBody.replace(/\n/g, "<br>\r\n"))
|
||||
}
|
||||
getLink(target){
|
||||
return target.getElementsByTagName("a")[0]
|
||||
|
@ -66,7 +66,7 @@ pageEvents.add(versionDiv, ["click", "touchend"], () => {
|
||||
versionLink.click()
|
||||
})
|
||||
resizeRoot()
|
||||
pageEvents.add(window, "resize", resizeRoot)
|
||||
setInterval(resizeRoot, 100)
|
||||
|
||||
var loader = new Loader(() => {
|
||||
new Titlescreen()
|
||||
|
@ -115,7 +115,7 @@ class Scoresheet{
|
||||
ctx.save()
|
||||
|
||||
var winW = innerWidth
|
||||
var winH = innerHeight
|
||||
var winH = lastHeight
|
||||
this.pixelRatio = window.devicePixelRatio || 1
|
||||
winW *= this.pixelRatio
|
||||
winH *= this.pixelRatio
|
||||
|
@ -565,7 +565,7 @@ class SongSelect{
|
||||
|
||||
var ctx = this.ctx
|
||||
var winW = innerWidth
|
||||
var winH = innerHeight
|
||||
var winH = lastHeight
|
||||
if(winW / 32 > winH / 9){
|
||||
winW = winH / 9 * 32
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user