yellowstonegames / SquidLib

Useful tools for roguelike, role-playing, strategy, and other grid-based games in Java. Feedback is welcome!
Other
448 stars 46 forks source link

putString with background color seems to be wrong #167

Closed SquidPony closed 7 years ago

SquidPony commented 7 years ago

background wrong

code: contextPanel.putString(5, 3, "CONTEXT", SColor.KIMONO_STORAGE, SColor.LIGHT_LIME);

No idea why the background doesn't fill the same space as the text

tommyettinger commented 7 years ago

Assuming contextPanel is a SquidLayers with a misleading name, this is a bug, and it has just been fixed. I'll see if GitHub can notice it in a commit message.

SquidPony commented 7 years ago

It is indeed a SquidLayers with a misleading name... I'll go refactor my names :)