|
52 | 52 | </WhileTrue>
|
53 | 53 |
|
54 | 54 | <ZoomGesture Target="TheTransform" Minimum="1" Maximum="3" ux:Name="TheZoom"/>
|
55 |
| - <Attractor Target="TheTransform.ZoomFactor" ux:Name="TheZoomer" TimeMultiplier="2"/> |
56 |
| - <!-- |
57 |
| - What has happend to SimulationType? |
58 |
| - <Attractor Target="TheTransform.ZoomFactor" ux:Name="TheZoomer" |
59 |
| - SimulationType="ElasticForceNormalized" TimeMultiplier="2"/>--> |
| 55 | + <Attractor Target="TheTransform.ZoomFactor" ux:Name="TheZoomer" TimeMultiplier="2" |
| 56 | + Type="Elastic" Unit="Normalized"/> |
60 | 57 |
|
61 | 58 | <RotateGesture Target="TheTransform" ux:Name="TheRotate" StepDegrees="30"/>
|
62 |
| - <Attractor Target="TheTransform.Rotation" ux:Name="TheRotater" TimeMultiplier="0.5"/> |
63 |
| - <!-- |
64 |
| - What has happend to SimulationType? |
65 |
| - <Attractor Target="TheTransform.Rotation" ux:Name="TheRotater" |
66 |
| - SimulationType="ElasticForceAngular" TimeMultiplier="0.5"/>--> |
| 59 | + <Attractor Target="TheTransform.Rotation" ux:Name="TheRotater" TimeMultiplier="0.5" |
| 60 | + Type="Elastic" Unit="Radians"/> |
67 | 61 |
|
68 | 62 | <PanGesture Target="TheTransform" Constraint="TheViewerImage" ux:Name="ThePan"/>
|
69 |
| - <Attractor Target="TheTransform.Translation" ux:Name="ThePanner" /> |
70 |
| - <!-- |
71 |
| - What has happend to SimulationType? |
72 |
| - <Attractor Target="TheTransform.Translation" ux:Name="ThePanner" |
73 |
| - SimulationType="ElasticForcePoints"/>--> |
| 63 | + <Attractor Target="TheTransform.Translation" ux:Name="ThePanner" |
| 64 | + Type="Elastic" Unit="Points"/> |
74 | 65 |
|
75 | 66 | <!-- the user might start interacting while the attractors are still running, stop that -->
|
76 | 67 | <WhileInteracting>
|
77 |
| - <!-- TODO: https://github.com/fusetools/fuselibs/issues/1344 --> |
78 | 68 | <!-- Fix will be released soon -->
|
79 |
| - <!--<Change Target="TheZoomer.IsEnabled" Value="false"/> |
| 69 | + <Change Target="TheZoomer.IsEnabled" Value="false"/> |
80 | 70 | <Change Target="TheRotater.IsEnabled" Value="false"/>
|
81 |
| - <Change Target="ThePanner.IsEnabled" Value="false"/>--> |
| 71 | + <Change Target="ThePanner.IsEnabled" Value="false"/> |
82 | 72 | </WhileInteracting>
|
83 | 73 |
|
84 | 74 | <!-- A wrapping panel to ensure the InteractiveTransform and layout transforms don't
|
|
0 commit comments