mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-30 15:32:38 +00:00
Add dont_show checkbox for WebP format
This commit is contained in:
parent
b40614ca36
commit
b10cc60fdb
@ -48,6 +48,7 @@
|
|||||||
</vbox>
|
</vbox>
|
||||||
<separator horizontal="true" />
|
<separator horizontal="true" />
|
||||||
<hbox>
|
<hbox>
|
||||||
|
<check text="@general.dont_show" id="dont_show" tooltip="@general.dont_show_tooltip" />
|
||||||
<boxfiller />
|
<boxfiller />
|
||||||
<hbox homogeneous="true">
|
<hbox homogeneous="true">
|
||||||
<button text="@general.ok" closewindow="true" id="ok" magnet="true" minwidth="60" />
|
<button text="@general.ok" closewindow="true" id="ok" magnet="true" minwidth="60" />
|
||||||
|
@ -432,6 +432,7 @@ FormatOptionsPtr WebPFormat::onAskUserForFormatOptions(FileOp* fop)
|
|||||||
pref.webp.imageHint(base::convert_to<int>(win.imageHint()->getValue()));
|
pref.webp.imageHint(base::convert_to<int>(win.imageHint()->getValue()));
|
||||||
pref.webp.quality(win.quality()->getValue());
|
pref.webp.quality(win.quality()->getValue());
|
||||||
pref.webp.imagePreset(base::convert_to<int>(win.imagePreset()->getValue()));
|
pref.webp.imagePreset(base::convert_to<int>(win.imagePreset()->getValue()));
|
||||||
|
pref.webp.showAlert(!win.dontShow()->isSelected());
|
||||||
|
|
||||||
opts->setLoop(pref.webp.loop());
|
opts->setLoop(pref.webp.loop());
|
||||||
opts->setType(WebPOptions::Type(pref.webp.type()));
|
opts->setType(WebPOptions::Type(pref.webp.type()));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user