view Applications/Samples/Web/single-frame-editor.html @ 654:462a5074f914

Turned the scene into an observable to be able to dynamically react to scene to canvas transform changes --> now the handles and angle measure adornments are immune to zoom changes
author Benjamin Golinvaux <bgo@osimis.io>
date Tue, 14 May 2019 13:51:00 +0200
parents 8bf717c4e497
children
line wrap: on
line source

<!doctype html>

<html lang="us">
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">

    <!-- Disable pinch zoom on mobile devices -->
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="HandheldFriendly" content="true" />

    <title>Simple Viewer</title>
    <link href="samples-styles.css" rel="stylesheet" />

<body>
  <div style="width: 100%; height: 100%">
    <canvas id="canvas"></canvas>
  </div>
  <script type="text/javascript" src="app-single-frame-editor.js"></script>
</body>

</html>