UI: Add preview scaling options
Adds preview scaling to the right-click context menu for the preview pane. This allows the ability to, for example, zoom the preview and edit the preview 1:1 (canvas/base resolution). This was a missing parity feature. Additionally, also allows scaling to the "output/scaled" resolution the program is set to. When the preview is in scale mode and is the focused widget, you can hold space and drag with left click to change the zoomed position. (Notes added by Jim) Closes jp9000/obs-studio#687
This commit is contained in:
@@ -873,8 +873,17 @@
|
||||
<addaction name="actionMoveToTop"/>
|
||||
<addaction name="actionMoveToBottom"/>
|
||||
</widget>
|
||||
<widget class="QMenu" name="scalingMenu">
|
||||
<property name="title">
|
||||
<string>Basic.MainMenu.Edit.Scale</string>
|
||||
</property>
|
||||
<addaction name="actionScaleWindow"/>
|
||||
<addaction name="actionScaleCanvas"/>
|
||||
<addaction name="actionScaleOutput"/>
|
||||
</widget>
|
||||
<addaction name="transformMenu"/>
|
||||
<addaction name="orderMenu"/>
|
||||
<addaction name="scalingMenu"/>
|
||||
<addaction name="actionLockPreview"/>
|
||||
<addaction name="separator"/>
|
||||
<addaction name="actionAdvAudioProperties"/>
|
||||
@@ -1328,6 +1337,30 @@
|
||||
<string>Basic.MainMenu.Edit.LockPreview</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionScaleWindow">
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Basic.MainMenu.Edit.Scale.Window</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionScaleCanvas">
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Basic.MainMenu.Edit.Scale.Canvas</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionScaleOutput">
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Basic.MainMenu.Edit.Scale.Output</string>
|
||||
</property>
|
||||
</action>
|
||||
</widget>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
|
Reference in New Issue
Block a user