GoogleChromeLabs / squoosh

Make images smaller using best-in-class codecs, right in the browser.
https://squoosh.app
Apache License 2.0
21.76k stars 1.53k forks source link

“Copy settings to other side” ignores “advanced” expand/collapsed state #1032

Open surma opened 3 years ago

surma commented 3 years ago
  1. Open image
  2. Select AVIF (or any other codec with “advanced options”
  3. Expand advanced options and change some of them
  4. Click “copy settings to other side”
  5. Advanced section on other side is not expanded (but settings are indeed copied)
jakearchibald commented 3 years ago

Yeah, right now we copy over the codec settings, not the UI state.

It might make more sense to use UI state throughout the app, and only convert to codec settings at the last moment (in the worker).