Skip to content

Commit

Permalink
Fix performance issue with playground on firefox due to wide select o…
Browse files Browse the repository at this point in the history
…ption
  • Loading branch information
7PH committed Jan 22, 2023
1 parent ff55479 commit 841104d
Show file tree
Hide file tree
Showing 14 changed files with 22 additions and 22 deletions.
Binary file added docs-src/public/default.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs-src/src/stores/app.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { defineStore } from 'pinia';
import defaultImage from '@/assets/default.png';
import defaultImage from '/default.png';
import { PowerGlitch } from '../../../src/index.ts';


Expand Down
2 changes: 1 addition & 1 deletion docs/api-docs/functions/mergeOptions.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ <h5><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-sym
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/7PH/powerglitch/blob/c9b7f48/src/index.ts#L348">index.ts:348</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/7PH/powerglitch/blob/b3e31b6/src/index.ts#L348">index.ts:348</a></li></ul></aside></li></ul></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
Expand Down
2 changes: 1 addition & 1 deletion docs/api-docs/types/GlitchPartialOptions.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h1>Type alias GlitchPartialOptions</h1></div>
<div class="tsd-comment tsd-typography"><p>Options given to the glitch method</p>
</div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/7PH/powerglitch/blob/c9b7f48/src/index.ts#L514">index.ts:514</a></li></ul></aside></div>
<li>Defined in <a href="https://github.com/7PH/powerglitch/blob/b3e31b6/src/index.ts#L514">index.ts:514</a></li></ul></aside></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
Expand Down
2 changes: 1 addition & 1 deletion docs/api-docs/types/GlitchResult.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ <h5>stop<wbr/>Glitch<span class="tsd-signature-symbol">: </span><span class="tsd
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li></ul></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/7PH/powerglitch/blob/c9b7f48/src/index.ts#L524">index.ts:524</a></li></ul></aside></div>
<li>Defined in <a href="https://github.com/7PH/powerglitch/blob/b3e31b6/src/index.ts#L524">index.ts:524</a></li></ul></aside></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
Expand Down
2 changes: 1 addition & 1 deletion docs/api-docs/types/GlitchableElement.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h1>Type alias GlitchableElement</h1></div>
<div class="tsd-comment tsd-typography"><p>Specifies what to glitch. Query selector, html element, list of html elements or NodeList.</p>
</div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/7PH/powerglitch/blob/c9b7f48/src/index.ts#L519">index.ts:519</a></li></ul></aside></div>
<li>Defined in <a href="https://github.com/7PH/powerglitch/blob/b3e31b6/src/index.ts#L519">index.ts:519</a></li></ul></aside></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
Expand Down
2 changes: 1 addition & 1 deletion docs/api-docs/types/LayerDefinition.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ <h5>timing<span class="tsd-signature-symbol">: </span><span class="tsd-signature
<h3>See</h3><p><a href="https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/KeyframeEffect#parameters">https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/KeyframeEffect#parameters</a></p>
</div></li></ul></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/7PH/powerglitch/blob/c9b7f48/src/index.ts#L155">index.ts:155</a></li></ul></aside></div>
<li>Defined in <a href="https://github.com/7PH/powerglitch/blob/b3e31b6/src/index.ts#L155">index.ts:155</a></li></ul></aside></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
Expand Down
2 changes: 1 addition & 1 deletion docs/api-docs/types/PlayModes.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h3>Remarks</h3><ul>
</ul>
</div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/7PH/powerglitch/blob/c9b7f48/src/index.ts#L9">index.ts:9</a></li></ul></aside></div>
<li>Defined in <a href="https://github.com/7PH/powerglitch/blob/b3e31b6/src/index.ts#L9">index.ts:9</a></li></ul></aside></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
Expand Down
2 changes: 1 addition & 1 deletion docs/api-docs/types/PowerGlitchOptions.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ <h5>pulse<span class="tsd-signature-symbol">: </span><span class="tsd-signature-
<div class="tsd-comment tsd-typography"><p>Pulse layer adds a pulsing effect to the glitch.</p>
</div></li></ul></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/7PH/powerglitch/blob/c9b7f48/src/index.ts#L14">index.ts:14</a></li></ul></aside></div>
<li>Defined in <a href="https://github.com/7PH/powerglitch/blob/b3e31b6/src/index.ts#L14">index.ts:14</a></li></ul></aside></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
Expand Down
2 changes: 1 addition & 1 deletion docs/api-docs/types/RecursivePartial.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ <h4>Type Parameters</h4>
<li>
<h4>T</h4></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/7PH/powerglitch/blob/c9b7f48/src/index.ts#L507">index.ts:507</a></li></ul></aside></div>
<li>Defined in <a href="https://github.com/7PH/powerglitch/blob/b3e31b6/src/index.ts#L507">index.ts:507</a></li></ul></aside></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
Expand Down
2 changes: 1 addition & 1 deletion docs/api-docs/variables/PowerGlitch.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ <h4 class="tsd-parameters-title">Parameters</h4>
<h5>playMode: <a href="../types/PlayModes.html" class="tsd-signature-type" data-tsd-kind="Type alias">PlayModes</a><span class="tsd-signature-symbol"> = &#39;always&#39;</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="../types/PowerGlitchOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">PowerGlitchOptions</a></h4></li></ul></li></ul></li></ul></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/7PH/powerglitch/blob/c9b7f48/src/index.ts#L577">index.ts:577</a></li></ul></aside></div>
<li>Defined in <a href="https://github.com/7PH/powerglitch/blob/b3e31b6/src/index.ts#L577">index.ts:577</a></li></ul></aside></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
Expand Down
22 changes: 11 additions & 11 deletions docs/assets/index.68f99e5e.js → docs/assets/index.071db848.js

Large diffs are not rendered by default.

Binary file added docs/default.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link rel="icon" type="image/svg+xml" href="/powerglitch/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>PowerGlitch - Glitch anything on the web</title>
<script type="module" crossorigin src="/powerglitch/assets/index.68f99e5e.js"></script>
<script type="module" crossorigin src="/powerglitch/assets/index.071db848.js"></script>
<link rel="stylesheet" href="/powerglitch/assets/index.17d371db.css">
</head>
<body>
Expand Down

0 comments on commit 841104d

Please sign in to comment.