doshidak / showdex

Pokémon Showdown extension that harnesses the power of parabolic calculus to strategically extract your opponents' Elo.
GNU Affero General Public License v3.0
104 stars 18 forks source link

[BUG]: Moving/Resizing window during a match caused Calcdex to no longer track the size of my window correctly #211

Open jmynes opened 2 months ago

jmynes commented 2 months ago

Note that I have the Open Calcdex button, but also the sidebar, yet the sidebar is focused on a previous match: image

Device: Desktop computer OS & Version: Windows 10, fully up to date Browser: Microsoft Edge (chromium) Showdex Version: v1.2.3 Format, if applicable: [Gen 3] OU

doshidak commented 2 months ago

huh o_O iirc, you can't have both the chat overlay & panel tab Calcdexes for the same battle, just one or the other. so the one for your current battle is in the chat overlay (accessed via the Open Calcdex button) & the panel one seems to be from another battle.

if you have the Open as setting set to Auto (default), new battles that open when Showdown is in Single Panel mode (which occurs when your browser's size is small) will open as a battle overlay & remain that way, even if you resize it back to activate Showdown's Left-Right Panel mode since the Calcdex already injected itself into the battle. if you want to always open in a panel, you can set it to that in the same setting.

but lmk if I totally missed what you're saying. thanks! c: