Fix a couple of non working UI elements.

This commit is contained in:
Damiano Galassi committed 2021-12-10 09:59:55 +01:00
1 parent ed48814c3e
commit 06b72f7e8e
2 files changed
+4 -4

No files matched your search

@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="18121" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES"> <document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="19529" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<dependencies> <dependencies>
<deployment identifier="macosx"/> <deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="18121"/> <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="19529"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies> </dependencies>
<objects> <objects>
@@ -277,7 +277,7 @@
</popUpButtonCell> </popUpButtonCell>
<connections> <connections>
<accessibilityConnection property="title" destination="HtH-F7-8Bv" id="0DU-hM-PDS"/> <accessibilityConnection property="title" destination="HtH-F7-8Bv" id="0DU-hM-PDS"/>
<action selector="setAlternateGroup:" target="-2" id="ig3-Ec-Cz0"/> <action selector="setTrackAlternateGroup:" target="-2" id="EMY-4A-sdg"/>
</connections> </connections>
</popUpButton> </popUpButton>
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="QID-3k-PHK"> <textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="QID-3k-PHK">
@@ -279,7 +279,7 @@ final class VideoViewController: PropertyView {
updateChangeCount() updateChangeCount()
} }
} else if sender == offsetY { } else if sender == offsetY {
let value = CGFloat(offsetX.integerValue) let value = CGFloat(offsetY.integerValue)
if track.transform.ty != value { if track.transform.ty != value {
var transform = track.transform var transform = track.transform
transform.ty = value transform.ty = value