troika-three-text
Advanced tools
Comparing version 0.52.2 to 0.52.3
@@ -6,2 +6,13 @@ # Change Log | ||
## [0.52.3](https://github.com/protectwise/troika/compare/v0.52.2...v0.52.3) (2024-12-19) | ||
### Bug Fixes | ||
* **troika-three-text:** Fix error in Safari in BatchedText ([2260ba0](https://github.com/protectwise/troika/commit/2260ba0c92b582928402c57d721bfe8b3fa41855)) | ||
## [0.52.2](https://github.com/protectwise/troika/compare/v0.52.1...v0.52.2) (2024-11-21) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "troika-three-text", | ||
"version": "0.52.2", | ||
"version": "0.52.3", | ||
"description": "SDF-based text rendering for Three.js", | ||
@@ -36,3 +36,3 @@ "author": "Jason Johnston <jason.johnston@protectwise.com>", | ||
}, | ||
"gitHead": "1af247e61d2f9f884728a7c77914bc8255c4e7cb" | ||
"gitHead": "1abaf66d7a92cf347f12caa0fc41339af0cfef09" | ||
} |
@@ -151,3 +151,7 @@ import { Text } from "./Text.js"; | ||
hasOutline() { | ||
return this._members.keys().some(m => m.hasOutline()) | ||
// Iterator.some() not supported in Safari | ||
for (let member of this._members.keys()) { | ||
if (member.hasOutline()) return true; | ||
} | ||
return false; | ||
} | ||
@@ -154,0 +158,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
741919
12134