mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-26 11:38:08 +00:00
EnvView::to_env takes the Copy view by value
This commit is contained in:
+1
-1
@@ -168,7 +168,7 @@ impl<'a> EnvView<'a> {
|
||||
}
|
||||
|
||||
/// The env this view shows, owned: what the drag preview, which paints after the region it started in, paints with.
|
||||
pub(crate) fn to_env(&self) -> super::Env {
|
||||
pub(crate) fn to_env(self) -> super::Env {
|
||||
super::Env { scoped: Arc::new(self.scoped.clone()) }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user