custom builds that do not include drag and drop now work correctly fixes #465

This commit is contained in:
Eric Rowell 2013-05-31 23:36:43 -07:00
parent 244273eb4c
commit 7b9322c15c
3 changed files with 9 additions and 14 deletions

View File

@ -1139,6 +1139,9 @@
},
shouldDrawHit: function() {
return this.isVisible() && this.isListening() && !Kinetic.Global.isDragging();
},
isDraggable: function() {
return false;
}
});

View File

@ -8,17 +8,15 @@
<body>
<div id="container"></div>
<script src="../../../dist/kinetic-Global-vcurrent.min.js"></script>
<script src="../../../dist/kinetic-Type-vcurrent.min.js"></script>
<script src="../../../dist/kinetic-Util-vcurrent.min.js"></script>
<script src="../../../dist/kinetic-Canvas-vcurrent.min.js"></script>
<script src="../../../dist/kinetic-Transform-vcurrent.min.js"></script>
<script src="../../../dist/kinetic-Collection-vcurrent.min.js"></script>
<script src="../../../dist/kinetic-Node-vcurrent.min.js"></script>
<script src="../../../dist/kinetic-Container-vcurrent.min.js"></script>
<script src="../../../dist/kinetic-Shape-vcurrent.min.js"></script>
<script src="../../../dist/kinetic-Stage-vcurrent.min.js"></script>
<script src="../../../dist/kinetic-Layer-vcurrent.min.js"></script>
<script src="../../../dist/kinetic-Group-vcurrent.min.js"></script>
<script src="../../../dist/kinetic-Shape-vcurrent.min.js"></script>
<script src="../../../dist/kinetic-Circle-vcurrent.min.js"></script>
<script src="../../js/Test.js"></script>

View File

@ -8,22 +8,16 @@
<body>
<div id="container"></div>
<script src="../../../dist/kinetic-Global-vcurrent.min.js"></script>
<script src="../../../dist/kinetic-Type-vcurrent.min.js"></script>
<script src="../../../dist/kinetic-Util-vcurrent.min.js"></script>
<script src="../../../dist/kinetic-Canvas-vcurrent.min.js"></script>
<script src="../../../dist/kinetic-Transform-vcurrent.min.js"></script>
<script src="../../../dist/kinetic-Collection-vcurrent.min.js"></script>
<script src="../../../dist/kinetic-Animation-vcurrent.min.js"></script>
<script src="../../../dist/kinetic-Node-vcurrent.min.js"></script>
<script src="../../../dist/kinetic-Animation-vcurrent.min.js"></script>
<script src="../../../dist/kinetic-DragAndDrop-vcurrent.min.js"></script>
<script src="../../../dist/kinetic-Container-vcurrent.min.js"></script>
<script src="../../../dist/kinetic-Shape-vcurrent.min.js"></script>
<script src="../../../dist/kinetic-Stage-vcurrent.min.js"></script>
<script src="../../../dist/kinetic-Layer-vcurrent.min.js"></script>
<script src="../../../dist/kinetic-Group-vcurrent.min.js"></script>
<script src="../../../dist/kinetic-Shape-vcurrent.min.js"></script>
<script src="../../../dist/kinetic-Circle-vcurrent.min.js"></script>