remove option for origin and mirror changes to layout_thread_2020

This commit is contained in:
Kunal Mohan 2020-02-18 00:57:33 +05:30
parent a5b43b7df1
commit 4a3bf52a7c
No known key found for this signature in database
GPG key ID: 2B475A4524237BAC
7 changed files with 62 additions and 46 deletions

View file

@ -1548,7 +1548,11 @@ impl Window {
/// forces a reflow if `tick` is true.
pub fn advance_animation_clock(&self, delta: i32, tick: bool) {
self.layout_chan
.send(Msg::AdvanceClockMs(delta, tick))
.send(Msg::AdvanceClockMs(
delta,
tick,
self.origin().immutable().clone(),
))
.unwrap();
}