mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-06-28 05:15:54 +00:00
4.0.0-rc16.2
* Fixed: Add initial support for Twitch's new message moderation display styles. * Fixed: Tooltips in pop-out chat not appearing correctly. * Fixed: Opening the FFZ Control Center from pop-out chat. * Fixed: Chat not appearing if a window is too thin with Portrait Mode enabled.
This commit is contained in:
parent
00859ac966
commit
6941a85ff6
9 changed files with 100 additions and 36 deletions
|
@ -36,10 +36,10 @@ export default class TooltipProvider extends Module {
|
|||
}
|
||||
|
||||
onEnable() {
|
||||
const container = document.querySelector('#root>div,#root,.clips-root') || document.body,
|
||||
const container = document.querySelector('#root>div') || document.querySelector('#root') || document.querySelector('.clips-root') || document.body,
|
||||
is_minimal = false; //container && container.classList.contains('twilight-minimal-root');
|
||||
|
||||
this.tips = new Tooltip(is_minimal ? '.twilight-minimal-root,body' : '#root>div,#root,body', 'ffz-tooltip', {
|
||||
this.tips = new Tooltip(container, 'ffz-tooltip', {
|
||||
html: true,
|
||||
delayHide: this.checkDelayHide.bind(this),
|
||||
delayShow: this.checkDelayShow.bind(this),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue