mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-23 19:36:21 +00:00
fix setting editable after printing
This commit is contained in:
@@ -231,6 +231,11 @@ function addGanttElement(blenderId, tasks, workSched, filename) {
|
|||||||
g.setTotalHeight("");
|
g.setTotalHeight("");
|
||||||
g.Draw();
|
g.Draw();
|
||||||
|
|
||||||
|
addEventListener("afterprint", (event) => {
|
||||||
|
g.setEditable(true);
|
||||||
|
},);
|
||||||
|
|
||||||
|
|
||||||
let css =
|
let css =
|
||||||
"@media print {\n" +
|
"@media print {\n" +
|
||||||
" @page {\n" +
|
" @page {\n" +
|
||||||
|
|||||||
Reference in New Issue
Block a user