mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 09:46:30 +00:00
small visual fixes
This commit is contained in:
@@ -49,6 +49,7 @@ public class AnnotationControl : Border
|
||||
HorizontalAlignment = HorizontalAlignment.Center,
|
||||
VerticalAlignment = VerticalAlignment.Top,
|
||||
Margin = new Thickness(0, 15, 0, 0),
|
||||
FontSize = 14,
|
||||
Cursor = Cursors.Arrow
|
||||
};
|
||||
_selectionFrame = new Rectangle
|
||||
|
||||
@@ -41,7 +41,6 @@ public class CanvasEditor : Canvas
|
||||
_horizontalLine.Stroke = value.ColorBrush;
|
||||
_horizontalLine.Fill = value.ColorBrush;
|
||||
_classNameHint.Text = value.Name;
|
||||
_classNameHint.Foreground = value.ColorBrush;
|
||||
|
||||
_newAnnotationRect.Stroke = value.ColorBrush;
|
||||
_newAnnotationRect.Fill = value.ColorBrush;
|
||||
@@ -72,7 +71,7 @@ public class CanvasEditor : Canvas
|
||||
_classNameHint = new TextBlock
|
||||
{
|
||||
Text = CurrentAnnClass?.Name ?? "asd",
|
||||
Foreground = new SolidColorBrush(Colors.Blue),
|
||||
Foreground = new SolidColorBrush(Colors.Black),
|
||||
Cursor = Cursors.Arrow,
|
||||
FontSize = 16,
|
||||
FontWeight = FontWeights.Bold
|
||||
|
||||
Reference in New Issue
Block a user