File tree Expand file tree Collapse file tree 1 file changed +12
-11
lines changed
src/MaterialDesignThemes.Wpf/Themes Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Original file line number Diff line number Diff line change 272
272
Clip =" {Binding ElementName=GeometryEllipse, Path=RenderedGeometry}"
273
273
ClipToBounds =" True"
274
274
Focusable =" False"
275
- SnapsToDevicePixels =" {TemplateBinding SnapsToDevicePixels}" >
276
- <!-- additional layer so we don't rotate the ripple directly which can cause jumpyness under certain layouts -->
277
- <ContentControl Content =" {TemplateBinding Content}"
278
- ContentTemplate =" {TemplateBinding ContentTemplate}"
279
- Focusable =" False"
280
- RenderTransformOrigin =" .5,.5" >
281
- <ContentControl .RenderTransform>
282
- <RotateTransform x : Name =" ContentRotateTransform" Angle =" 0" />
283
- </ContentControl .RenderTransform>
284
- </ContentControl >
285
- </wpf : Ripple >
275
+ SnapsToDevicePixels =" {TemplateBinding SnapsToDevicePixels}" />
276
+ <!-- additional layer so we don't rotate the ripple directly which can cause jumpyness under certain layouts -->
277
+ <ContentControl Content =" {TemplateBinding Content}"
278
+ ContentTemplate =" {TemplateBinding ContentTemplate}"
279
+ Focusable =" False"
280
+ HorizontalAlignment =" {TemplateBinding HorizontalContentAlignment}"
281
+ VerticalAlignment =" {TemplateBinding VerticalContentAlignment}"
282
+ RenderTransformOrigin =" .5,.5" >
283
+ <ContentControl .RenderTransform>
284
+ <RotateTransform x : Name =" ContentRotateTransform" Angle =" 0" />
285
+ </ContentControl .RenderTransform>
286
+ </ContentControl >
286
287
<Ellipse x : Name =" GeometryEllipse"
287
288
Fill =" Transparent"
288
289
Focusable =" False"
You can’t perform that action at this time.
0 commit comments