From 3ff3f8ee44e47de8aa3a0345e0da94d6db98f021 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=93=D0=BB=D0=B0=D0=B2=D1=80=D0=B5=D0=B4=20=7C=20Glavred?= Date: Tue, 29 Dec 2020 15:40:07 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D1=8F=20=D0=BE=D1=82=20=D0=93=D0=BB=D0=B0=D0=B2=D1=80?= =?UTF-8?q?=D0=B5=D0=B4=D0=B0=20=D0=93=D0=B8=D1=82=D0=96=D0=A1=20|=20Chang?= =?UTF-8?q?es=20of=20GitJS=20Glavred?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 0000 | 2 +- 🎬.js | 25 +++++++++---------------- 2 files changed, 10 insertions(+), 17 deletions(-) diff --git a/0000 b/0000 index 32433d5..8de587a 100644 --- a/0000 +++ b/0000 @@ -1,5 +1,5 @@ Π ΠΈΡΠΎΠ²Π°Ρ‚Π΅Π»ΡŒ -0.7.2 +0.7.3 https://git.opengamestudio.org/PuCOBATEJlb/PuCOBATEJlb /base64js.min.js diff --git a/🎬.js b/🎬.js index 599ea1f..c9ac67a 100644 --- a/🎬.js +++ b/🎬.js @@ -70,27 +70,20 @@ ΠΌΠΈΡ€.ΠΊΠ°ΠΌΠ΅Ρ€Π°.updateProjectionMatrix(); ΠΌΠΈΡ€.Ρ€ΠΈΡΠΎΠ²Π°Ρ‚Π΅Π»ΡŒ.setSize(ΡˆΠΈΡ€ΠΈΠ½Π°, высота); - /* + var Ρ€Π°Π·ΠΌΠ΅Ρ€ = ΠΌΠΈΡ€.ΠΌΠ°ΡΡˆΡ‚Π°Π± * 100; + +/* position: absolute; left: 0; top: 0; -*/ - - //var Ρ€Π°Π·ΠΌΠ΅Ρ€ = ΠΌΠΈΡ€.ΠΌΠ°ΡΡˆΡ‚Π°Π± * 100; - /* +*/ + ΠΌΠΈΡ€.ΠΊΠ°Π½Π²Π°.style = ` -width: ${ΡˆΠΈΡ€ΠΈΠ½Π°}; -height: ${высота}; +max-width: ${Ρ€Π°Π·ΠΌΠ΅Ρ€}%; +max-height: ${Ρ€Π°Π·ΠΌΠ΅Ρ€}%; +width: ${Ρ€Π°Π·ΠΌΠ΅Ρ€}%; +height: ${Ρ€Π°Π·ΠΌΠ΅Ρ€}%; `; - ΠΌΠΈΡ€.Ρ€ΠΎΠ΄ΠΈΡ‚Π΅Π»ΡŒΠšΠ°Π½Π²Ρ‹.style = ` -position: fixed; -left: 0; -right: 0; -top: 0; -bottom: 0; -overflow: auto; - `; -*/ };