@termuijs/widgets 0.1.4 → 0.1.5

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/dist/index.js CHANGED
@@ -2674,6 +2674,7 @@ var Spinner = class extends Widget {
2674
2674
  * Call this with a delta (ms) from the render loop.
2675
2675
  */
2676
2676
  tick(deltaMs) {
2677
+ if (!caps12.motion) return;
2677
2678
  this._elapsed += deltaMs;
2678
2679
  if (this._elapsed >= this._interval) {
2679
2680
  this._frameIndex = (this._frameIndex + 1) % this._frames.length;