Merge pull request #62755 from Calinou/videostreamplayer-default-disable-expand
Disable Expand by default in VideoStreamPlayer
This commit is contained in:
commit
08e8e6739e
|
@ -58,7 +58,7 @@
|
|||
<member name="bus" type="StringName" setter="set_bus" getter="get_bus" default="&"Master"">
|
||||
Audio bus to use for sound playback.
|
||||
</member>
|
||||
<member name="expand" type="bool" setter="set_expand" getter="has_expand" default="true">
|
||||
<member name="expand" type="bool" setter="set_expand" getter="has_expand" default="false">
|
||||
If [code]true[/code], the video scales to the control size. Otherwise, the control minimum size will be automatically adjusted to match the video stream's dimensions.
|
||||
</member>
|
||||
<member name="paused" type="bool" setter="set_paused" getter="is_paused" default="false">
|
||||
|
|
|
@ -64,7 +64,7 @@ class VideoStreamPlayer : public Control {
|
|||
bool autoplay = false;
|
||||
float volume = 1.0;
|
||||
double last_audio_time = 0.0;
|
||||
bool expand = true;
|
||||
bool expand = false;
|
||||
bool loops = false;
|
||||
int buffering_ms = 500;
|
||||
int audio_track = 0;
|
||||
|
|
Loading…
Reference in New Issue