ScalarVector1 / DragonLens

Modern, customizable, and community-driven debugging and cheat mod for TModLoader
24 stars 14 forks source link

Parent modifiers in browsers to a base panel #61

Open ScalarVector1 opened 1 year ago

ScalarVector1 commented 1 year ago

Currently the modifier boxes used in places like the NPC and projectile spawners are directly appended to the state. That makes it difficult to check against mouse hovering. I propose we add a simple background panel element to the base Browser class to host these, that is only visible if one or more exists, similar to the filter panel.

Additionally, we could have this expand/collapse with a button similar to the filter menu