Skip to content

Commit 1598f42

Browse files
committed
Switch to using Tracky Mouse dwell clicker API
I designed this API in the context of JS Paint, before extracting it to the Tracky Mouse library, so this requires minimal changes, mostly deletions.
1 parent 7f03320 commit 1598f42

File tree

7 files changed

+25
-438
lines changed

7 files changed

+25
-438
lines changed

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<!-- <link href="lib/os-gui/build/windows-98.css" rel="stylesheet" type="text/css"> -->
2727
<!-- <link href="lib/os-gui/build/windows-default.css" rel="stylesheet" type="text/css" title="Windows Default"> -->
2828
<!-- <link href="lib/os-gui/build/peggys-pastels.css" rel="alternate stylesheet" type="text/css" title="Peggy's Pastels"> -->
29-
<!-- <link href="lib/tracky-mouse/core/tracky-mouse.css" rel="stylesheet" type="text/css"> -->
29+
<link href="lib/tracky-mouse/core/tracky-mouse.css" rel="stylesheet" type="text/css">
3030
<!--
3131
@TODO: bring these styles into OS-GUI.
3232
This is a custom build of 98.css https://github.com/jdan/98.css
@@ -1061,7 +1061,7 @@ <h1>Full Clipboard Support</h1>
10611061
<script src="lib/FileSaver.js"></script>
10621062
<script src="lib/font-detective.js"></script>
10631063
<script src="lib/libtess.min.js"></script>
1064-
<!-- <script src="lib/tracky-mouse/core/tracky-mouse.js"></script> -->
1064+
<script src="lib/tracky-mouse/core/tracky-mouse.js"></script>
10651065
<script src="lib/os-gui/parse-theme.js"></script>
10661066
<script src="lib/os-gui/$Window.js"></script>
10671067
<script src="lib/os-gui/MenuBar.js"></script>

src/app.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ import { TOOL_AIRBRUSH, TOOL_BRUSH, TOOL_CURVE, TOOL_ELLIPSE, TOOL_ERASER, TOOL_
3535
// @TODO: Minimize global variables and exports from app.js
3636
window.update_fill_and_stroke_colors_and_lineWidth = update_fill_and_stroke_colors_and_lineWidth;
3737
window.tool_go = tool_go;
38-
window.average_points = average_points;
3938

4039
// #endregion
4140

0 commit comments

Comments
 (0)