Fix tests for TestPanel
This commit is contained in:
parent
4d87a67af8
commit
b34c78016f
1 changed files with 2 additions and 1 deletions
|
@ -743,8 +743,9 @@ pub mod test {
|
|||
true
|
||||
}
|
||||
|
||||
fn set_position(&mut self, position: DockPosition, _: &mut ViewContext<Self>) {
|
||||
fn set_position(&mut self, position: DockPosition, cx: &mut ViewContext<Self>) {
|
||||
self.position = position;
|
||||
cx.update_global::<SettingsStore, _>(|_, _| {});
|
||||
}
|
||||
|
||||
fn size(&self, _: &WindowContext) -> Pixels {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue