mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-03 23:28:11 +08:00
Review
This commit is contained in:
@@ -60,7 +60,6 @@ impl ViewInfoReceiver {
|
|||||||
Self { view_info: ViewInfo::new(), receiver }
|
Self { view_info: ViewInfo::new(), receiver }
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Apply all pending updates and return the resulting view info.
|
|
||||||
pub(super) fn current(&mut self) -> ViewInfo {
|
pub(super) fn current(&mut self) -> ViewInfo {
|
||||||
for update in self.receiver.try_iter() {
|
for update in self.receiver.try_iter() {
|
||||||
self.view_info.apply_update(update);
|
self.view_info.apply_update(update);
|
||||||
|
|||||||
Reference in New Issue
Block a user