@lightningjs/ui-components
Advanced tools
Comparing version 2.21.4 to 2.21.5
{ | ||
"name": "@lightningjs/ui-components", | ||
"version": "2.21.4", | ||
"version": "2.21.5", | ||
"description": "A shared library of helpful LightningJS components utilizing theme files to easily customize for any LightningJS application.", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -218,2 +218,3 @@ /** | ||
this._componentSrc.reject && this._componentSrc.reject(error); | ||
this.signal('imageLoadFailed'); | ||
} | ||
@@ -220,0 +221,0 @@ |
@@ -43,4 +43,5 @@ /** | ||
this._updatePrefixStyle(); | ||
super._updateTitle(); | ||
this._updateCollapseStatus(); | ||
super._update(); | ||
this._updateCollapseStatus(); | ||
} | ||
@@ -47,0 +48,0 @@ |
@@ -544,2 +544,12 @@ /** | ||
_setLazyUpCountBuffer(buffer) { | ||
if (buffer < 0) { | ||
console.warn( | ||
'lazyUpCountBuffer must be greater than or equal to 0. Setting to 0.' | ||
); | ||
buffer = 0; | ||
} | ||
return buffer; | ||
} | ||
isFullyOnScreen({ offsetX = 0, offsetY = 0 } = {}) { | ||
@@ -546,0 +556,0 @@ // if the NavigationManager is nested in another Focus Manager |
@@ -429,2 +429,10 @@ /** | ||
}); | ||
it('should set lazyUpCountBuffer to zero if set below', () => { | ||
navigationManager.lazyUpCountBuffer = 3; | ||
expect(navigationManager.lazyUpCountBuffer).toBe(3); | ||
navigationManager.lazyUpCountBuffer = -2; | ||
expect(navigationManager.lazyUpCountBuffer).toBe(0); | ||
}); | ||
}); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12580539
86166