Makes the browser button icons scale with button size.
Why should this be added?
It's kind of a waste to allow for the buttons to be larger if the icons don't also increase in size. Enlarging the icons makes it easier to see what the button is for. Not to mention the item browser icons already scaled with size, so this simply enables this for the other browsers as well.
What changed?
I used the same scaling numbers that the ItemButtons use except for buffs since they have a background already I made them take up the whole space.
I also adjusted the draw code for the ProjectileSpawner so that instead of drawing the whole sprite sheet it just draws the first frame. This makes it a lot easier to identify projectiles with many frames. Minions/Pets for example
Obviously the numbers can be adjusted to your liking.
What is the feature?
Makes the browser button icons scale with button size.
Why should this be added?
It's kind of a waste to allow for the buttons to be larger if the icons don't also increase in size. Enlarging the icons makes it easier to see what the button is for. Not to mention the item browser icons already scaled with size, so this simply enables this for the other browsers as well.
What changed?
I used the same scaling numbers that the
ItemButtons
use except for buffs since they have a background already I made them take up the whole space. I also adjusted the draw code for theProjectileSpawner
so that instead of drawing the whole sprite sheet it just draws the first frame. This makes it a lot easier to identify projectiles with many frames. Minions/Pets for exampleObviously the numbers can be adjusted to your liking.