Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: rework texture data format #1017

Merged
merged 6 commits into from
Nov 19, 2023
Merged

Fix: rework texture data format #1017

merged 6 commits into from
Nov 19, 2023

Conversation

Azgaar
Copy link
Owner

@Azgaar Azgaar commented Nov 18, 2023

Description

Issue: texture cannot be toggled off in Firefox
Root cause: Firefox does not undraw image when its href is changed to invalid value
Solution: remove texture image when layer is toggled off
Implementation: store texture data on parent element level (#texture), not on child level. Remove child when the layer is off

Fixes #1009.

Other changes:

  • Move texture images to a local folder (just like we have ocean patterns and charges)

Type of change

  • Bug fix
  • Refactoring / style

Versioning

  • Version is updated
  • Changed files hash is updated

@Azgaar Azgaar self-assigned this Nov 18, 2023
@Azgaar Azgaar changed the title Fix: rework texture save format Fix: rework texture data format Nov 18, 2023
Copy link

netlify bot commented Nov 18, 2023

Deploy Preview for afmg ready!

Name Link
🔨 Latest commit 09ee0c0
🔍 Latest deploy log https://app.netlify.com/sites/afmg/deploys/6559e6da4113c90008296067
😎 Deploy Preview https://deploy-preview-1017--afmg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Azgaar Azgaar merged commit ada39b4 into master Nov 19, 2023
3 checks passed
@Azgaar Azgaar deleted the texture-fix branch December 9, 2023 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot disable Texture layer in Firefox
1 participant