mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-04 19:41:36 -05:00
Align panel draws production's divider above its options
This commit is contained in:
@@ -8,6 +8,7 @@ use craft::keymap::CommandRef;
|
||||
use craft::ui::bars::{BarItem, BarItems};
|
||||
use craft::ui::buttons::{IconButton, PopupMark, ToggleButton};
|
||||
use craft::ui::contract::{Bind, PopupKind, Props as _, Show as _, ShowContainer as _, Trigger};
|
||||
use craft::ui::display::Divider;
|
||||
use craft::ui::menu::{Menu, MenuItem, PanelRow};
|
||||
use craft::ui::runtime::commands::{CommandState, CommandStates};
|
||||
use craft::ui::text::NumberField;
|
||||
@@ -513,6 +514,7 @@ pub fn show(app: &mut VectorcraftApp, ui: &mut Ui) {
|
||||
if part_hidden(app, HIDE_OPTIONS) {
|
||||
return;
|
||||
}
|
||||
Divider::horizontal().show(ui);
|
||||
// The Distribute Spacing value is sent while there is a key object or a key guide (#2143), or
|
||||
// for artboards while Align to Artboard is chosen.
|
||||
let spacing = app.ui.align_spacing;
|
||||
|
||||
Reference in New Issue
Block a user