From 77812833de459c3aecc83851f6a6420bc23f5239 Mon Sep 17 00:00:00 2001 From: Godot Organization Date: Wed, 23 Jul 2025 22:05:40 +0000 Subject: [PATCH] classref: Sync with current master branch (e0603ae) --- classes/class_editorexportplatformextension.rst | 4 ++-- classes/class_spinbox.rst | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/classes/class_editorexportplatformextension.rst b/classes/class_editorexportplatformextension.rst index 3c1b434dea6..c33dd228902 100644 --- a/classes/class_editorexportplatformextension.rst +++ b/classes/class_editorexportplatformextension.rst @@ -62,7 +62,7 @@ Methods +------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`_get_name`\ (\ ) |virtual| |required| |const| | +------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ - | :ref:`ImageTexture` | :ref:`_get_option_icon`\ (\ device\: :ref:`int`\ ) |virtual| |const| | + | :ref:`Texture2D` | :ref:`_get_option_icon`\ (\ device\: :ref:`int`\ ) |virtual| |const| | +------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`_get_option_label`\ (\ device\: :ref:`int`\ ) |virtual| |const| | +------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ @@ -330,7 +330,7 @@ Returns export platform name. .. rst-class:: classref-method -:ref:`ImageTexture` **_get_option_icon**\ (\ device\: :ref:`int`\ ) |virtual| |const| :ref:`🔗` +:ref:`Texture2D` **_get_option_icon**\ (\ device\: :ref:`int`\ ) |virtual| |const| :ref:`🔗` Returns the item icon for the specified ``device`` in the one-click deploy menu. The icon should be 16×16 pixels, adjusted for the current editor scale (see :ref:`EditorInterface.get_editor_scale()`). diff --git a/classes/class_spinbox.rst b/classes/class_spinbox.rst index 932bc4c3cc1..e5141ee2025 100644 --- a/classes/class_spinbox.rst +++ b/classes/class_spinbox.rst @@ -210,7 +210,7 @@ Changes the alignment of the underlying :ref:`LineEdit`. If not ``0``, sets the step when interacting with the arrow buttons of the **SpinBox**. -\ **Note:** :ref:`Range.value` will still be rounded to a multiple of :ref:`step`. +\ **Note:** :ref:`Range.value` will still be rounded to a multiple of :ref:`Range.step`. .. rst-class:: classref-item-separator @@ -585,7 +585,7 @@ Up button icon when the button is being pressed. :ref:`Texture2D` **updown** :ref:`🔗` -Single texture representing both the up and down buttons icons. It is displayed in the middle of the buttons and does not change upon interaction. It is recommended to use individual :ref:`up` and :ref:`down` graphics for better usability. This can also be used as additional decoration between the two buttons. +Single texture representing both the up and down buttons icons. It is displayed in the middle of the buttons and does not change upon interaction. If a valid icon is assigned, it will replace :ref:`up` and :ref:`down`. .. rst-class:: classref-item-separator