mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
lint
This commit is contained in:
parent
8897d98bd9
commit
53666cbfe8
@ -1,25 +1,27 @@
|
||||
import libraryLoader from "../../services/library_loader.js";
|
||||
import TypeWidget from "./type_widget.js";
|
||||
import appContext from "../../services/app_context.js";
|
||||
import {InfiniteCanvas} from './canvas-note-utils/infinite-drawing-canvas.js';
|
||||
import { InfiniteCanvas } from './canvas-note-utils/infinite-drawing-canvas.js';
|
||||
|
||||
import { initButtons, initPens } from './canvas-note-utils/gui.js';
|
||||
import _debounce from './canvas-note-utils/lib/lodash.debounce.js';
|
||||
|
||||
const TPL = `
|
||||
<div id="parentContainer" class="note-detail-canvas-note note-detail-printable"
|
||||
style=" /*resize: both;*/
|
||||
overflow:auto; width: 100%; height: 70%; background-color: rgba(255,248,230,0.58); border: 1px double #efefef;">
|
||||
<div
|
||||
id="parentContainer"
|
||||
class="note-detail-canvas-note note-detail-printable"
|
||||
style="overflow:auto; width: 100%; height: 70%; background-color: rgba(255,248,230,0.58); border: 1px double #efefef;"
|
||||
>
|
||||
<div id="canvasContainer" style="width: 1500px; height: 1500px;">
|
||||
<canvas id="c" class="canvasElement" style="border:1px solid #aaa; width: 1500px; height: 1500px"></canvas>
|
||||
<canvas id="c" class="canvasElement" style="border:1px solid #aaa; width: 1500px; height: 1500px"></canvas>
|
||||
</div>
|
||||
<br />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="pens-and-markers">
|
||||
<!-- Drawing:-->
|
||||
<!-- <button id="undo" disabled><i class='bx bx-undo'></i></button>-->
|
||||
<!-- <button id="redo" disabled><i class='bx bx-redo'></i></button>-->
|
||||
<div id="pens-and-markers">
|
||||
<!-- Drawing:-->
|
||||
<!-- <button id="undo" disabled><i class='bx bx-undo'></i></button>-->
|
||||
<!-- <button id="redo" disabled><i class='bx bx-redo'></i></button>-->
|
||||
Pens:
|
||||
<button id="pen-1" class="btn btn-info"><i class='bx bx-pencil' style="border-left: 3px solid black"></i></button>
|
||||
<button id="pen-2" class="btn btn-info"><i class='bx bx-pencil' style="border-left: 3px solid red"></i></button>
|
||||
|
Loading…
x
Reference in New Issue
Block a user