summaryrefslogtreecommitdiff
path: root/src/lua/mod.rs
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2024-08-02 21:34:41 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2024-08-02 21:34:41 +0200
commitbb9944d086332ed0b8d6064316225e901c456bd7 (patch)
treed8e42f8cee5db6236b775f10346ac5cd24c888a4 /src/lua/mod.rs
parent665eecff57a0a5f9ccb225d3781f6ecdc7637920 (diff)
change 'viewsheet' bindings to 'view'
Diffstat (limited to 'src/lua/mod.rs')
-rw-r--r--src/lua/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lua/mod.rs b/src/lua/mod.rs
index 7d61e5b..e10d83b 100644
--- a/src/lua/mod.rs
+++ b/src/lua/mod.rs
@@ -8,7 +8,7 @@ use mlua::prelude::*;
use crate::{
config::{
- theme::{sheetview::SheetViewTheme, Theme},
+ theme::{view::SheetViewTheme, Theme},
GlobalConfig,
},
sheet::cell::CellRef,
@@ -62,9 +62,9 @@ fn print(_: &Lua, args: LuaMultiValue) -> LuaResult<()> {
CellRef => ud.borrow::<CellRef>(),
GlobalConfig => GlobalConfig::instance(),
Theme => GlobalConfig::instance().theme,
- SheetViewTheme => GlobalConfig::instance().theme.sheetview,
+ SheetViewTheme => GlobalConfig::instance().theme.view,
GlobalState => GlobalState::instance(),
- SheetViewState => GlobalState::instance().sheetview,
+ SheetViewState => GlobalState::instance().view,
);
} else {
writer.write(format!("{:#?}", arg));