Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smartpen Milestone-1 #526

Merged
merged 3 commits into from
Jun 29, 2021
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions apps/heatmap/heatmap.html
Original file line number Diff line number Diff line change
@@ -155,6 +155,12 @@
<script src="https://unpkg.com/@popperjs/core@2"></script>
<script src="https://unpkg.com/tippy.js@6"></script>

<!-- Smartpen -->
<script type="text/javascript" src="../../common/enhance.js"></script>
<script type="text/javascript" src="../../common/smartpen/autoalign.js"></script>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't quite understand why you've added this here, I couldn't notice anything in the heatmap app. Is this coming functionality?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually the smartpen is a part of openseadragon-canvas-draw-overlay. Currently, even if not used, the file has to be included with it. Haven't explored the heatmaps section, but if there is any need, smartpen can be activated with a line of code.

<link rel="stylesheet" type="text/css" media="all" href="../../common/smartpen/autoalign.css"/>
<!-- Smartpen end -->

</head>
<body>
<!-- message-->
7 changes: 7 additions & 0 deletions apps/labeling/labeling.html
Original file line number Diff line number Diff line change
@@ -84,6 +84,13 @@
<!-- Popper & tippy -->
<script src="https://unpkg.com/@popperjs/core@2"></script>
<script src="https://unpkg.com/tippy.js@6"></script>

<!-- Smartpen -->
<script type="text/javascript" src="../../common/enhance.js"></script>
<script type="text/javascript" src="../../common/smartpen/autoalign.js"></script>
<link rel="stylesheet" type="text/css" media="all" href="../../common/smartpen/autoalign.css"/>
<!-- Smartpen end -->

</head>
<body>
<!-- message-->
7 changes: 7 additions & 0 deletions apps/model/model.html
Original file line number Diff line number Diff line change
@@ -151,6 +151,13 @@
<!-- Popper & tippy -->
<script src="https://unpkg.com/@popperjs/core@2"></script>
<script src="https://unpkg.com/tippy.js@6"></script>

<!-- Smartpen -->
<script type="text/javascript" src="../../common/enhance.js"></script>
<script type="text/javascript" src="../../common/smartpen/autoalign.js"></script>
<link rel="stylesheet" type="text/css" media="all" href="../../common/smartpen/autoalign.css"/>
<!-- Smartpen end -->

<!--
<script src='../viewer/uicallbacks.js'></script>
<script src='../viewer/dataloaders.js'></script>
8 changes: 7 additions & 1 deletion apps/segment/segment.html
Original file line number Diff line number Diff line change
@@ -163,7 +163,13 @@
<!-- Popper & tippy -->
<script src="https://unpkg.com/@popperjs/core@2"></script>
<script src="https://unpkg.com/tippy.js@6"></script>


<!-- Smartpen -->
<script type="text/javascript" src="../../common/enhance.js"></script>
<script type="text/javascript" src="../../common/smartpen/autoalign.js"></script>
<link rel="stylesheet" type="text/css" media="all" href="../../common/smartpen/autoalign.css"/>
<!-- Smartpen end -->

<!-- segment css -->
<link rel="stylesheet" type='text/css' href='./segment.css'>

246 changes: 0 additions & 246 deletions apps/viewer/enhance.js

This file was deleted.

Loading