Keep input item in abounds
This commit is contained in:
parent
d70373c203
commit
f123fefc6e
2 changed files with 62 additions and 37 deletions
|
|
@ -48,7 +48,7 @@ export default defineComponent({
|
|||
const yStart = window.innerHeight - 200;
|
||||
|
||||
// Calculate position of inputItem on drag.
|
||||
const { elementX, elementY } = draggify("inputItem", xStart, yStart);
|
||||
const { elementX, elementY } = draggify("inputItem", xStart, yStart, 15);
|
||||
|
||||
// Controllers for text and audio.
|
||||
const { typing } = useTextInputController(elementX)
|
||||
|
|
|
|||
Loading…
Reference in a new issue