@everymatrix/casino-game-page 1.12.7 → 1.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-game-page",
3
- "version": "1.12.7",
3
+ "version": "1.13.1",
4
4
  "main": "dist/casino-game-page.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -35,5 +35,5 @@
35
35
  "publishConfig": {
36
36
  "access": "public"
37
37
  },
38
- "gitHead": "7f8097b50f6a8794ce81f8961ed3efba1842a578"
38
+ "gitHead": "9f9dcce9a013f45e086eef1d201f25733df18d12"
39
39
  }
@@ -352,12 +352,9 @@
352
352
  const iframeRatio = game.width/(game.height + 100);
353
353
 
354
354
 
355
- gameFrameWidth = parseInt(game.width);
355
+ gameFrameWidth = parseInt(game.width) * iframeRatio;
356
356
  gameFrameHeight = parseInt(game.height);
357
357
 
358
- // resize logic for maintaining game ratio when resizing
359
- gameFrameWidth = gameContainerWidth * iframeRatio;
360
-
361
358
  definitiveIframeWidth = gameFrameWidth ? `${Math.floor(gameFrameWidth)}px` : "1280px";
362
359
  definitiveIframeHeight = gameFrameHeight ? `${Math.floor(gameFrameHeight)}px` : "720px";
363
360
 
@@ -765,9 +762,7 @@
765
762
 
766
763
  <style lang="scss">
767
764
 
768
- :host {
769
- font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
770
- }
765
+
771
766
 
772
767
  .CasinoGamePageContainer {
773
768
  background: var(--emfe-w-color-contrast, #07072A);