forked from 1b-agent/opencadstudio-upstream
fix(section): add state grip menu
This commit is contained in:
1 parent
78bbd1065a
commit
0426df79ca
5 files changed
+104
-17
No files matched your search
@@ -3049,7 +3049,11 @@ impl OpenCADStudio {
|
||||
return Task::none();
|
||||
};
|
||||
let grip_shape = self.tabs[i].selected_grips[grip_index].shape;
|
||||
if grip_shape == crate::scene::model::object::GripShape::Dropdown {
|
||||
if matches!(
|
||||
grip_shape,
|
||||
crate::scene::model::object::GripShape::Dropdown
|
||||
| crate::scene::model::object::GripShape::DropdownAdjacent
|
||||
) {
|
||||
use crate::entities::traits::EntityTypeOps;
|
||||
let items = self.tabs[i]
|
||||
.scene
|
||||
|
||||
Reference in new issue
Block a user