Skip to content

Commit

Permalink
Add custom panel
Browse files Browse the repository at this point in the history
  • Loading branch information
nikeee committed Oct 27, 2024
1 parent 76acc1a commit 8c4491f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/HolzShots.Legacy/UI/Controls/PanelActivator.vb
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ Namespace UI.Controls

Public Sub CreateSettingsPanel(tool As ITool(Of ToolSettingsBase))
Debug.Assert(tool.SettingsControl IsNot Nothing)
Dim control = tool.SettingsControl

Dim panel = _toolPanelDict(PaintPanel.ShotEditorTool.LegacyNew)
Debug.Assert(panel IsNot Nothing)

panel.Location = OpenPoint
panel.Visible = True
panel.BringToFront()
ActivateSettingsPanel(PaintPanel.ShotEditorTool.LegacyNew)

Dim control = tool.SettingsControl
Debug.Assert(control IsNot Nothing)
End Sub

Public Sub HideAll()
Expand Down

0 comments on commit 8c4491f

Please sign in to comment.