Styr1x / Browsingway

Dalamud plugin for rendering browser overlays in-game.
GNU General Public License v3.0
34 stars 17 forks source link

Added a "Fullscreen" feature to inlays. #46

Closed haroldiedema closed 8 months ago

haroldiedema commented 8 months ago

I've added a "Fullscreen" option to inlays. I'm building a web-based overlay that contains its own "widget"/"window" system that runs on the entire screen. So instead of fiddling with pixel-perfect positioning and resizing to make an inlay cover the entire screen, this options simply fills the entire ImGui workspace to cover the screen.

"Fullscreen" implicitly enables "Locked", similarly to what "Click Through" does. It also uses the working position of ImGui, so if the dalamud dev bar (/xldev) is visible, inlays won't render behind it, but below it.

image

I've also fixed a small bug in the TextureRenderHandler that occasionally spammed the dev log window with an Index out of Bounds message during startup of the plugin / loading of an inlay.