overte/scripts/system/fingerPaint/html/eraserTab.html
Artur Gomes dffbc442be Add new Interface (more similar to the ui used on other apps)
Fix brush on repeat mode (keeps the the aspect ratio of the texture)
2017-08-16 18:28:55 +01:00

19 lines
No EOL
526 B
HTML

<!--Note: change the parent postmessage second parameter due to possible security issues-->
<link rel="stylesheet" type="text/css" href="../../html/css/edit-style.css">
<style type="text/css">
#undoButton {
width: 200px;
height: 200px;
}
</style>
<button id="undoButton" onclick="undo()">Undo</button>
<script type="text/javascript">
function undo() {
var undoEvent = {
"type" : "undo"
};
parent.postMessage(JSON.stringify(undoEvent), "*");
}
</script>