aboutsummaryrefslogtreecommitdiff
path: root/src/editor.rs
diff options
context:
space:
mode:
authorArne Dußin2020-12-20 03:58:46 +0100
committerArne Dußin2020-12-20 16:41:52 +0100
commit48f321a80970ebeb8374072b1d2e0a4d297aa348 (patch)
tree8f6dbffef7ed507ae118919917fd69a7a9528c39 /src/editor.rs
parentc073618d9773216ab4a2dcd7944589f38b1df751 (diff)
downloadgraf_karto-48f321a80970ebeb8374072b1d2e0a4d297aa348.tar.gz
graf_karto-48f321a80970ebeb8374072b1d2e0a4d297aa348.zip
Add dimensional indicator with scaling
Diffstat (limited to 'src/editor.rs')
-rw-r--r--src/editor.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/editor.rs b/src/editor.rs
index e6a2dcb..87a8db4 100644
--- a/src/editor.rs
+++ b/src/editor.rs
@@ -184,4 +184,7 @@ impl Editor {
pub fn map(&self) -> &Map {
&self.map
}
+ pub fn map_mut(&mut self) -> &mut Map {
+ &mut self.map
+ }
}