gif picker

This commit is contained in:
MathMan05
2025-04-08 12:26:46 -05:00
parent 174fde846a
commit 3952937581
7 changed files with 206 additions and 9 deletions

View File

@@ -275,4 +275,12 @@ import {I18n} from "./i18n.js";
thisUser.TBEmojiMenu(emojiTB.getBoundingClientRect());
};
emojiTB.onclick = (e) => e.stopImmediatePropagation();
const gifTB = document.getElementById("gifTB") as HTMLElement;
gifTB.onmousedown = (e) => {
e.preventDefault();
e.stopImmediatePropagation();
thisUser.makeGifBox(gifTB.getBoundingClientRect());
};
gifTB.onclick = (e) => e.stopImmediatePropagation();
})();