Skip to content

Commit

Permalink
Safari 15 fixes (#7)
Browse files Browse the repository at this point in the history
* Fix image thumbnail loading data types

* Upgrade pixijs; modernize glsl shaders and use float instead of bool for showBorders

* Bump version
  • Loading branch information
venkatesh-sivaraman committed Oct 5, 2021
1 parent 9d03172 commit 7b97634
Show file tree
Hide file tree
Showing 5 changed files with 178 additions and 374 deletions.
2 changes: 1 addition & 1 deletion emblaze/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
# Copyright (c) venkatesh-sivaraman.
# Distributed under the terms of the Modified BSD License.

version_info = (0, 9, 3)
version_info = (0, 9, 4)
__version__ = ".".join(map(str, version_info))
4 changes: 2 additions & 2 deletions emblaze/thumbnails.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,8 @@ def from_json(data, ids=None):
descriptions = None
if "items" in data:
items = data["items"]
names = [items[id_val]["name"] for id_val in ids]
descriptions = [items[id_val].get("description", "") for id_val in ids]
names = [items[str(id_val)]["name"] for id_val in ids]
descriptions = [items[str(id_val)].get("description", "") for id_val in ids]

return ImageThumbnails(None,
spritesheets=spritesheets,
Expand Down

0 comments on commit 7b97634

Please sign in to comment.