diff --git a/editor/ui/dialogs/content/EdHLineProps.js b/editor/ui/dialogs/content/EdHLineProps.js index e58a4e5a3625..f02f79f2cd50 100644 --- a/editor/ui/dialogs/content/EdHLineProps.js +++ b/editor/ui/dialogs/content/EdHLineProps.js @@ -103,7 +103,7 @@ function InitDialog() gDialog.alignGroup.selectedItem = gDialog.leftAlign; } - gDialog.shading.checked = globalElement.hasAttribute("noshade"); + gDialog.shading.checked = !globalElement.hasAttribute("noshade"); } function onSaveDefault()