mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
Node editor - Tweak grid size and apply grid size to script
Type coloring - Fix object's white color
This commit is contained in:
1 parent
05d8222991
commit
c6a73f01f0
3 files changed
+7
-7
No files matched your search
@@ -121,7 +121,7 @@ namespace Artemis.VisualScripting.Editor.Controls
|
||||
}
|
||||
|
||||
public static readonly DependencyProperty GridSizeProperty = DependencyProperty.Register(
|
||||
"GridSize", typeof(int), typeof(VisualScriptPresenter), new PropertyMetadata(24));
|
||||
"GridSize", typeof(int), typeof(VisualScriptPresenter), new PropertyMetadata(12));
|
||||
|
||||
public int GridSize
|
||||
{
|
||||
|
||||
@@ -87,13 +87,13 @@
|
||||
|
||||
<Setter Property="Background">
|
||||
<Setter.Value>
|
||||
<VisualBrush TileMode="Tile" Stretch="Uniform" Viewport="0 0 20 20" ViewportUnits="Absolute">
|
||||
<VisualBrush TileMode="Tile" Stretch="Uniform" Viewport="0 0 24 24" ViewportUnits="Absolute">
|
||||
<VisualBrush.Visual>
|
||||
<Canvas>
|
||||
<Rectangle Width="10" Height="10" Canvas.Top="0" Canvas.Left="0" Fill="Black" Opacity="0.15" />
|
||||
<Rectangle Width="10" Height="10" Canvas.Top="0" Canvas.Left="10" />
|
||||
<Rectangle Width="10" Height="10" Canvas.Top="10" Canvas.Left="0" />
|
||||
<Rectangle Width="10" Height="10" Canvas.Top="10" Canvas.Left="10" Fill="Black" Opacity="0.15" />
|
||||
<Rectangle Width="12" Height="12" Canvas.Top="0" Canvas.Left="0" Fill="Black" Opacity="0.15" />
|
||||
<Rectangle Width="12" Height="12" Canvas.Top="0" Canvas.Left="12" />
|
||||
<Rectangle Width="12" Height="12" Canvas.Top="12" Canvas.Left="0" />
|
||||
<Rectangle Width="12" Height="12" Canvas.Top="12" Canvas.Left="12" Fill="Black" Opacity="0.15" />
|
||||
</Canvas>
|
||||
</VisualBrush.Visual>
|
||||
</VisualBrush>
|
||||
|
||||
Reference in new issue
Block a user