WIP: element dragging & resizing

- currently enabled on #sheld when window is over 1000px wide.
- click top right gripper dots to drag sheld around
- resize with lower right size dragger.
- snaps to static view and hides grabbers when windows under 1000px
- position not remembered across sessions..yet
- updated styles on dice, options, and send_but
This commit is contained in:
RossAscends
2023-04-17 14:44:27 +09:00
parent 247d65f30b
commit 9fb7dc5e42
5 changed files with 128 additions and 19 deletions

View File

@ -273,7 +273,7 @@ function onClickExpressionImage() {
(function () {
function addExpressionImage() {
const html = `<div class="expression-holder"><img class="expression"></div>`;
const html = `<div id="expression-holder" class="expression-holder"><img class="expression"></div>`;
$('body').append(html);
}
function addSettings() {