mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-03 04:18:25 +08:00
changing the image rendering of text to high quality to ensure sharp edges on rendering
This commit is contained in:
@ -132,7 +132,9 @@ class TextBoxComponent extends PositionComponent with Resizable {
|
||||
return;
|
||||
}
|
||||
prepareCanvas(c);
|
||||
c.drawImage(_cache, Offset.zero, BasicPalette.white.paint);
|
||||
c.drawImage(_cache,
|
||||
Offset.zero,
|
||||
BasicPalette.white.paint..filterQuality = FilterQuality.high);
|
||||
}
|
||||
|
||||
Future<Image> _redrawCache() {
|
||||
|
||||
Reference in New Issue
Block a user