feat(workbench): Show page count on layout
This commit is contained in:
parent
99232fe020
commit
a4906eac64
4 changed files with 24 additions and 4 deletions
|
@ -68,7 +68,8 @@ const pagesPlugin = (size='a4', orientation='portrait') => ({
|
|||
}
|
||||
y += h
|
||||
}
|
||||
this.pages = { cols, rows, count: (cols+1)*(rows+1) }
|
||||
// Store page count in part
|
||||
this.pages = { cols, rows, count: cols*rows }
|
||||
}
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue