From 9d11760941ce38eb03439ccd601ec8b48b083177 Mon Sep 17 00:00:00 2001 From: Waldi Date: Wed, 21 Sep 2016 10:03:52 +0200 Subject: [PATCH] commiz --- BeWo/View/ChatEmojisView.xaml | 4 ---- BeWo/View/ChatEmojisView.xaml.cs | 17 ----------------- 2 files changed, 21 deletions(-) diff --git a/BeWo/View/ChatEmojisView.xaml b/BeWo/View/ChatEmojisView.xaml index 01c572f1c..944e7360a 100644 --- a/BeWo/View/ChatEmojisView.xaml +++ b/BeWo/View/ChatEmojisView.xaml @@ -9,8 +9,6 @@ BorderThickness="2" BorderBrush="Black" > - - @@ -185,8 +183,6 @@ - - diff --git a/BeWo/View/ChatEmojisView.xaml.cs b/BeWo/View/ChatEmojisView.xaml.cs index 1de2ebe66..a960cea43 100644 --- a/BeWo/View/ChatEmojisView.xaml.cs +++ b/BeWo/View/ChatEmojisView.xaml.cs @@ -587,21 +587,4 @@ namespace BeWo.View public string EmojiCode { get; set; } } - - - public class DpiDecorator : Decorator - { - public DpiDecorator() - { - this.Loaded += (s, e) => - { - Matrix m = PresentationSource.FromVisual(this).CompositionTarget.TransformToDevice; - ScaleTransform dpiTransform = new ScaleTransform(1 / m.M11, 1 / m.M22); - if (dpiTransform.CanFreeze) - dpiTransform.Freeze(); - this.LayoutTransform = dpiTransform; - }; - } - } - }