From 47da499081ec5b4d037bcadec12c9f041923df38 Mon Sep 17 00:00:00 2001 From: howard Date: Sat, 21 Sep 2024 22:36:06 -0700 Subject: [PATCH 1/2] Correct markup for firefox compatibility. Remove duplication of skip. --- assets/autoload/phaser/interface/skip.png | Bin 9120 -> 0 bytes assets/autoload/phaser/interface/skip.svg | 1 + assets/icons/skip.svg | 1 - src/style/styles.less | 16 ++++++++-------- 4 files changed, 9 insertions(+), 9 deletions(-) delete mode 100644 assets/autoload/phaser/interface/skip.png create mode 100644 assets/autoload/phaser/interface/skip.svg delete mode 100644 assets/icons/skip.svg diff --git a/assets/autoload/phaser/interface/skip.png b/assets/autoload/phaser/interface/skip.png deleted file mode 100644 index 216949d7135861d9c5e887c54e56b88619e2a812..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9120 zcmW++byQSe7kwb&5F%32Fi67>=@JA-8c7+tySt>-krJdvkPaya1VIEux)CI$L690k z8tM2h-yg%Q#hQ2DednID&))mIC{1<6+k~`)5Cq*;R+7^O-^te>7(Vzbh2yaRz6jiv z47?x+@7eVS2e*8y0Q{52TVCJ$nVYS*pM|Fl@OJtcz$&@_L%KlwE&O0D`>bb2Z z_B6}ux0ffk2~wkBJMcTEhq2o`4;xLprGIt&Z-@|0?XZ(3SGF+#BcqOCZ5gKp6uf-b^{HbwOeaSN6G zvx~W_$$3=&-C_)_lB%ju!8ZvF~bd~1V# z`>CprT$}AtnoD*`MX`X?s>Jf6T%4{5)ow^7SJb?g{9}Dh^cCakxsPl`LRba zCSaINWv-3qEmGUqnEng9t*x!X(5k)&3k9K#{{I7n*4FFN3-hDj=uWt=7%3va!$V~6 z&8tX?sB#zo>okga$8`Zh47vZJ)V6EpdFzu?T&(mZe8<|(t^}GAw>ybbq=WL;yN;v} zH>V>sIS*nVqC>*;=$*{O>672Qd7~C3At8bG`aQ{}ZmRguWc>bEd8=E~g(w9{M3Ya{ z$k9%;6~j9liTcp1kY|=Dd?vD74TIM|tx?aEoYdWFI$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YPlaL#e!X0Vtr+%!f*3~A~7>_7Wf+uK0kR-oO%=;;@;io z-gAozqfx!nOIuah&OtgC>N2#65bC z@VAMv*&w9T3N6O0pHlZ;PwwMOH&C&~GS&uE?%%}rP*x%f=QlpK5h8vxOUR&;l9Cu< zcw_{tPI8oc`}_ZtSOpbe6@CAafG0t8--e9M<|GF`1NUX%(+}zYzcn%_-svc(GPtTA ot3*J{P;!^+@dqmr7Pey \ No newline at end of file diff --git a/assets/icons/skip.svg b/assets/icons/skip.svg deleted file mode 100644 index 021cb3f6e..000000000 --- a/assets/icons/skip.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/style/styles.less b/src/style/styles.less index 1e2378255..8580a5bb4 100644 --- a/src/style/styles.less +++ b/src/style/styles.less @@ -426,7 +426,7 @@ } .button#skip { - background-image: url('~assets/icons/skip.svg'); + background-image: url('~assets/autoload/phaser/interface/skip.svg'); } .button#delay { @@ -2067,10 +2067,10 @@ input { #brandlogo { height: 100vh; - width: 100vw; - display: flex; - align-items: center; - justify-content: center; + width: 100vw; + display: flex; + align-items: center; + justify-content: center; &.hide { display: none; } @@ -2097,16 +2097,16 @@ input { background-position-y: top; background-size: 50%; width: 50%; - height:250px; + height: 250px; max-width: 1000px; margin-top: 12%; @media (max-aspect-ratio: 16/9) { - margin-top:10%; + margin-top: 10%; } @media (orientation: portrait) { - margin-top:5%; + margin-top: 5%; } @media screen and (min-height: 300px) { From 201c2b50268be07c95397e57fdc73e8f9fd6da3a Mon Sep 17 00:00:00 2001 From: howard Date: Sun, 22 Sep 2024 13:55:47 -0700 Subject: [PATCH 2/2] Revert sizing changes on SVG markup. Scaled down the skip icon hovering over creatures. --- assets/autoload/phaser/interface/skip.svg | 2 +- src/creature.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/autoload/phaser/interface/skip.svg b/assets/autoload/phaser/interface/skip.svg index 9e6b7b108..8cd393a2a 100644 --- a/assets/autoload/phaser/interface/skip.svg +++ b/assets/autoload/phaser/interface/skip.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/creature.ts b/src/creature.ts index c60782ae3..2cec8a6a0 100644 --- a/src/creature.ts +++ b/src/creature.ts @@ -2087,7 +2087,7 @@ class CreatureSprite { // Add "Skip turn" icon const skipTurnIcon = this._phaser.add.sprite(0, 50, 'skip'); skipTurnIcon.anchor.setTo(0.5, 0.7); // Give a bit more vertical space - skipTurnIcon.setScaleMinMax(0.63, 0.63, 0.63, 0.63); + skipTurnIcon.setScaleMinMax(0.15, 0.15, 0.15, 0.15); skipTurnIcon.alpha = 0; skipTurnIcon.data.hintType = hintType; skipTurnIcon.data.tweenAlpha = null;