TextEdit: Change font size with Ctrl+Mouse Wheel Up/Down

This commit is contained in:
Ignacio Etcheverry
2016-06-17 21:58:50 +02:00
parent 55b83157e7
commit bc9f9b1c6a
5 changed files with 83 additions and 10 deletions

View File

@@ -516,7 +516,7 @@ void DynamicFontAtSize::_update_char(CharType p_char) {
if (tex.texture.is_null()) {
tex.texture.instance();
tex.texture->create_from_image(img,0/*Texture::FLAG_FILTER*/);
tex.texture->create_from_image(img,Texture::FLAG_VIDEO_SURFACE);
} else {
tex.texture->set_data(img); //update
}