summaryrefslogtreecommitdiff
path: root/src/app.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.rs')
-rw-r--r--src/app.rs14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/app.rs b/src/app.rs
index f60c2ca..a215859 100644
--- a/src/app.rs
+++ b/src/app.rs
@@ -20,19 +20,7 @@ pub struct App {
impl App {
pub fn new() -> Self {
- let sheet_id = Register::create(200, 1000);
- let sheet = Register::get(sheet_id).unwrap();
-
- {
- let mut sheet = sheet.write().unwrap();
-
- for row in 0..sheet.height() {
- for column in 0..sheet.width() {
- sheet.set_cell(row, column, format!("{}/{}", row, column).into());
- }
- }
- }
-
+ let sheet_id = Register::create(10, 50);
let view = SheetView::new(sheet_id);
Self {