Utility/*TextDrawer: Fix bounds starting at a negative position
Former-commit-id: 06ac76189b5c36e108b5fc80b3c54d01068deadd
This commit is contained in:
@@ -28,7 +28,7 @@ namespace Nz
|
||||
|
||||
void Clear();
|
||||
|
||||
const Rectui& GetBounds() const override;
|
||||
const Recti& GetBounds() const override;
|
||||
unsigned int GetCharacterSize() const;
|
||||
const Color& GetColor() const;
|
||||
Font* GetFont() const;
|
||||
@@ -71,7 +71,7 @@ namespace Nz
|
||||
Color m_color;
|
||||
FontRef m_font;
|
||||
mutable Rectf m_workingBounds;
|
||||
mutable Rectui m_bounds;
|
||||
mutable Recti m_bounds;
|
||||
String m_text;
|
||||
mutable UInt32 m_previousCharacter;
|
||||
UInt32 m_style;
|
||||
|
||||
Reference in New Issue
Block a user