Skip to content

Commit

Permalink
Remove leftover comment & update another comment in 'Get-TabXaml' Pri…
Browse files Browse the repository at this point in the history
…vate Function
  • Loading branch information
og-mrk committed Jul 9, 2024
1 parent af17430 commit 368e598
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions functions/private/Get-TabXaml.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ function Get-TabXaml {

if ($columncount -gt 0) {
$panelcount2 = [Int](($count)/$maxcount-0.5)
# Verify the indentation actually works...
if ($panelcount -eq $panelcount2 ) {
$blockXml += $precal_indent_m1 +
"</StackPanel>" + "`r`n"
Expand Down Expand Up @@ -186,7 +185,7 @@ function Get-TabXaml {
"HorizontalAlignment=""Left"" Margin=""5"" Padding=""20,5"" $($ButtonWidthStr)/>" + "`r`n"
}

# else it is a checkbox
# else it's a checkbox
default {
$checkedStatus = If ($appInfo.Checked -eq $null) {""} Else {" IsChecked=""$($appInfo.Checked)"""}
if ($appInfo.Link -eq $null) {
Expand Down

0 comments on commit 368e598

Please sign in to comment.