forked from rDrama/rDrama
fix inline emoji picker overflowing the screen
parent
8215573561
commit
7814d5d0c9
|
@ -438,6 +438,8 @@ function update_speed_emoji_modal(event)
|
||||||
{
|
{
|
||||||
const box_coords = update_ghost_div_textarea(event.target);
|
const box_coords = update_ghost_div_textarea(event.target);
|
||||||
|
|
||||||
|
box_coords.x = Math.min(box_coords.x, screen_width - 150)
|
||||||
|
|
||||||
let text = event.target.value;
|
let text = event.target.value;
|
||||||
|
|
||||||
// Unused, but left incase anyone wants to use this more efficient method for emojos
|
// Unused, but left incase anyone wants to use this more efficient method for emojos
|
||||||
|
|
Loading…
Reference in New Issue