mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-23 08:58:12 +08:00
Fix raster export scale factor (#3870)
* fix export scale factor * export scale increment step 0.5 * fix svg to raster export on web
This commit is contained in:
@@ -113,6 +113,7 @@ impl LayoutHolder for ExportDialogMessageHandler {
|
||||
.unit("")
|
||||
.min(0.)
|
||||
.max((1_u64 << f64::MANTISSA_DIGITS) as f64)
|
||||
.increment_step(0.5)
|
||||
.disabled(self.file_type == FileType::Svg)
|
||||
.on_update(|number_input: &NumberInput| ExportDialogMessage::ScaleFactor { factor: number_input.value.unwrap() }.into())
|
||||
.min_width(200)
|
||||
|
||||
Reference in New Issue
Block a user