FIX: resizable on every sheets
parent
8c6d595659
commit
b418a0c2c5
|
@ -193,7 +193,8 @@ export class OseActorSheet extends ActorSheet {
|
||||||
|
|
||||||
async _onResize(event) {
|
async _onResize(event) {
|
||||||
super._onResize(event);
|
super._onResize(event);
|
||||||
let html = $(event.path);
|
|
||||||
|
let html = $(this.form);
|
||||||
let resizable = html.find(".resizable");
|
let resizable = html.find(".resizable");
|
||||||
if (resizable.length == 0) {
|
if (resizable.length == 0) {
|
||||||
return;
|
return;
|
||||||
|
@ -212,7 +213,6 @@ export class OseActorSheet extends ActorSheet {
|
||||||
editor.style.height = `${heightDelta + parseInt(container.dataset.editorSize)}px`;
|
editor.style.height = `${heightDelta + parseInt(container.dataset.editorSize)}px`;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
// editors.css("height", this.position.height - 340);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
_onConfigureActor(event) {
|
_onConfigureActor(event) {
|
||||||
|
|
Loading…
Reference in New Issue