mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
classref: Use code markup for default values/overrides
Sync with godotengine/godot#35357. Fixes #3071.
This commit is contained in:
@@ -26,15 +26,15 @@ Tutorials
|
||||
Properties
|
||||
----------
|
||||
|
||||
+---------------------------+------------------------------------------------------------------------+-------+
|
||||
| :ref:`int<class_int>` | :ref:`button_index<class_InputEventMouseButton_property_button_index>` | 0 |
|
||||
+---------------------------+------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`doubleclick<class_InputEventMouseButton_property_doubleclick>` | false |
|
||||
+---------------------------+------------------------------------------------------------------------+-------+
|
||||
| :ref:`float<class_float>` | :ref:`factor<class_InputEventMouseButton_property_factor>` | 1.0 |
|
||||
+---------------------------+------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`pressed<class_InputEventMouseButton_property_pressed>` | false |
|
||||
+---------------------------+------------------------------------------------------------------------+-------+
|
||||
+---------------------------+------------------------------------------------------------------------+-----------+
|
||||
| :ref:`int<class_int>` | :ref:`button_index<class_InputEventMouseButton_property_button_index>` | ``0`` |
|
||||
+---------------------------+------------------------------------------------------------------------+-----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`doubleclick<class_InputEventMouseButton_property_doubleclick>` | ``false`` |
|
||||
+---------------------------+------------------------------------------------------------------------+-----------+
|
||||
| :ref:`float<class_float>` | :ref:`factor<class_InputEventMouseButton_property_factor>` | ``1.0`` |
|
||||
+---------------------------+------------------------------------------------------------------------+-----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`pressed<class_InputEventMouseButton_property_pressed>` | ``false`` |
|
||||
+---------------------------+------------------------------------------------------------------------+-----------+
|
||||
|
||||
Property Descriptions
|
||||
---------------------
|
||||
@@ -44,7 +44,7 @@ Property Descriptions
|
||||
- :ref:`int<class_int>` **button_index**
|
||||
|
||||
+-----------+-------------------------+
|
||||
| *Default* | 0 |
|
||||
| *Default* | ``0`` |
|
||||
+-----------+-------------------------+
|
||||
| *Setter* | set_button_index(value) |
|
||||
+-----------+-------------------------+
|
||||
@@ -60,7 +60,7 @@ The mouse button identifier, one of the :ref:`ButtonList<enum_@GlobalScope_Butto
|
||||
- :ref:`bool<class_bool>` **doubleclick**
|
||||
|
||||
+-----------+------------------------+
|
||||
| *Default* | false |
|
||||
| *Default* | ``false`` |
|
||||
+-----------+------------------------+
|
||||
| *Setter* | set_doubleclick(value) |
|
||||
+-----------+------------------------+
|
||||
@@ -76,7 +76,7 @@ If ``true``, the mouse button's state is a double-click.
|
||||
- :ref:`float<class_float>` **factor**
|
||||
|
||||
+-----------+-------------------+
|
||||
| *Default* | 1.0 |
|
||||
| *Default* | ``1.0`` |
|
||||
+-----------+-------------------+
|
||||
| *Setter* | set_factor(value) |
|
||||
+-----------+-------------------+
|
||||
@@ -92,7 +92,7 @@ The amount (or delta) of the event. When used for high-precision scroll events,
|
||||
- :ref:`bool<class_bool>` **pressed**
|
||||
|
||||
+-----------+--------------------+
|
||||
| *Default* | false |
|
||||
| *Default* | ``false`` |
|
||||
+-----------+--------------------+
|
||||
| *Setter* | set_pressed(value) |
|
||||
+-----------+--------------------+
|
||||
|
||||
Reference in New Issue
Block a user