Skip to content

Commit

Permalink
refator: Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
furesoft committed Oct 27, 2024
1 parent 9d7347d commit 5ba595a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
xmlns:me="clr-namespace:MimaSim.MarkupExtensions"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="MimaSim.Controls.MimaComponents.Wrappers.DisplayWrapper">
<Canvas Height="320" Width="600">
<Canvas Height="275" Width="600">
<TextBlock Text="Display" TextAlignment="Center" VerticalAlignment="Center" Canvas.Top="75" Canvas.Left="500" />

<mimaComponents:BusControl Canvas.Top="0" Canvas.Left="385" Width="15" Height="55" State="None" core:BusRegistry.Id="base_to_display" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
x:Class="MimaSim.Controls.MimaComponents.Wrappers.NetworkCardWrapper">
<Canvas Height="190" Width="75">
<mimaComponents:NetworkCardControl Canvas.Left="0" />
<mimaComponents:BusControl Canvas.Top="55" Canvas.Left="35" Width="15" Height="127" State="None" core:BusRegistry.Id="base_to_nic" />
<mimaComponents:BusControl Canvas.Top="55" Canvas.Left="30" Width="15" Height="127" State="None" core:BusRegistry.Id="base_to_nic" />
</Canvas>
</UserControl>
2 changes: 1 addition & 1 deletion src/MimaSim/MimaSim/Resources/BusMap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
</activator>

<activator id="cu->nic">
<mainbus value="95"/>
<mainbus value="94"/>

<setbus id="base_to_nic" />
</activator>
Expand Down
2 changes: 1 addition & 1 deletion src/MimaSim/MimaSim/Views/MainView.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<DockPanel>
<Grid ColumnDefinitions="450,*" DockPanel.Dock="Top" VerticalAlignment="Top">
<c:ProgramEditorControl Grid.Column="0" Height="450" Margin="5" VerticalAlignment="Top" />
<c:MimaControl Grid.Column="1" Height="460" HorizontalAlignment="Center" Width="600"
<c:MimaControl Grid.Column="1" Height="480" HorizontalAlignment="Center" Width="600"
VerticalAlignment="Center" />
</Grid>
</DockPanel>
Expand Down

0 comments on commit 5ba595a

Please sign in to comment.