1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-31 18:41:20 +00:00

Fix typo ovrsampling → oversampling

This commit is contained in:
Timo Schwarzer
2025-04-15 11:21:51 +02:00
parent e5ccaa79e2
commit d0aa95a6d4
2 changed files with 3 additions and 3 deletions

View File

@@ -143,7 +143,7 @@ void CanvasItem::_redraw_callback() {
drawing = true;
Ref<TextServer> ts = TextServerManager::get_singleton()->get_primary_interface();
if (ts.is_valid()) {
ts->set_current_drawn_item_ovrsampling(get_viewport()->get_oversampling());
ts->set_current_drawn_item_oversampling(get_viewport()->get_oversampling());
}
current_item_drawn = this;
notification(NOTIFICATION_DRAW);
@@ -151,7 +151,7 @@ void CanvasItem::_redraw_callback() {
GDVIRTUAL_CALL(_draw);
current_item_drawn = nullptr;
if (ts.is_valid()) {
ts->set_current_drawn_item_ovrsampling(0.0);
ts->set_current_drawn_item_oversampling(0.0);
}
drawing = false;
}

View File

@@ -605,7 +605,7 @@ public:
TypedArray<Vector3i> parse_structured_text(StructuredTextParser p_parser_type, const Array &p_args, const String &p_text) const;
virtual void set_current_drawn_item_ovrsampling(double p_vp_oversampling) { vp_oversampling = p_vp_oversampling; }
virtual void set_current_drawn_item_oversampling(double p_vp_oversampling) { vp_oversampling = p_vp_oversampling; }
virtual void cleanup() {}