mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-06 19:08:28 +00:00
Replace HandleWrapper
in presentation layer
This commit is contained in:
parent
9c1ae75db0
commit
72665a0f2e
@ -77,9 +77,9 @@ impl Command<Presentation> for DeriveObject {
|
||||
if let (AnyObject::Region(original), AnyObject::Region(derived)) =
|
||||
(self.original, self.derived)
|
||||
{
|
||||
if let Some(color) = state.color.get(&original.0).cloned() {
|
||||
if let Some(color) = state.color.get(&original).cloned() {
|
||||
events.push(SetColor {
|
||||
region: derived.into(),
|
||||
region: derived,
|
||||
color,
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user