it works!!
This commit is contained in:
@@ -306,6 +306,7 @@ impl TextObject {
|
||||
let size = Dimensions::Dim2d { width: suggested.0, height: suggested.1 };
|
||||
renderer.resize_texture(go, go.textures.texture_index, size);
|
||||
self.brush.resize_texture(suggested.0, suggested.1);
|
||||
self.update_text(new_text, new_size, renderer, game_objects);
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user