UI: Add save button next to replay buffer button
Allows the ability to save replays with a button rather than with the keyboard if desired. Closes obsproject/obs-studio#1954
This commit is contained in:
@@ -517,6 +517,7 @@ Basic.Main.Controls="Controls"
|
||||
Basic.Main.Connecting="Connecting..."
|
||||
Basic.Main.StartRecording="Start Recording"
|
||||
Basic.Main.StartReplayBuffer="Start Replay Buffer"
|
||||
Basic.Main.SaveReplay="Save Replay"
|
||||
Basic.Main.StartStreaming="Start Streaming"
|
||||
Basic.Main.StopRecording="Stop Recording"
|
||||
Basic.Main.PauseRecording="Pause Recording"
|
||||
|
@@ -1044,3 +1044,9 @@ SceneTree#scenes {
|
||||
padding-right: 10px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
/* Save replay icon */
|
||||
|
||||
* [themeID="replayIconSmall"] {
|
||||
qproperty-icon: url(./Dark/save.svg);
|
||||
}
|
||||
|
@@ -809,3 +809,9 @@ SceneTree {
|
||||
*[gridMode="true"] SceneTree::item:checked {
|
||||
background-color: rgb(122,121,122); /* light */
|
||||
}
|
||||
|
||||
/* Save icon */
|
||||
|
||||
* [themeID="replayIconSmall"] {
|
||||
qproperty-icon: url(./Dark/save.svg);
|
||||
}
|
||||
|
3
UI/data/themes/Dark/save.svg
Normal file
3
UI/data/themes/Dark/save.svg
Normal file
@@ -0,0 +1,3 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8" fill="#d2d2d2">
|
||||
<path d="M3 0v3h-2l3 3 3-3h-2v-3h-2zm-3 7v1h8v-1h-8z" />
|
||||
</svg>
|
After Width: | Height: | Size: 161 B |
@@ -1372,3 +1372,9 @@ SceneTree#scenes {
|
||||
qproperty-gridItemWidth: 150;
|
||||
qproperty-gridItemHeight: 30;
|
||||
}
|
||||
|
||||
/* Save icon */
|
||||
|
||||
* [themeID="replayIconSmall"] {
|
||||
qproperty-icon: url(./Dark/save.svg);
|
||||
}
|
||||
|
@@ -240,3 +240,9 @@ SceneTree {
|
||||
qproperty-gridItemWidth: 150;
|
||||
qproperty-gridItemHeight: 24;
|
||||
}
|
||||
|
||||
/* Save icon */
|
||||
|
||||
* [themeID="replayIconSmall"] {
|
||||
qproperty-icon: url(:res/images/save.svg);
|
||||
}
|
||||
|
Reference in New Issue
Block a user