Skip to content

Commit

Permalink
Disabled background color editor for the legacy theme (#6492)
Browse files Browse the repository at this point in the history
* work for #6484 Disabled background color editor for the legacy theme

* update etalon work for #6484 Disabled background color editor for the legacy theme

---------

Co-authored-by: OlgaLarina <olga.larina.dev@gmail.com>
  • Loading branch information
OlgaLarina and OlgaLarina authored Jan 31, 2025
1 parent 7176035 commit 851aed3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,9 @@ Serializer.addProperties("creatortheme", [
type: "color",
name: "--sjs-special-background",
default: "#EDF9F7FF",
enableIf: (obj: CreatorThemeModel): boolean => {
return !obj || obj.themeName !== CreatorThemeModel.legacyThemeName;
},
onPropertyEditorUpdate: function (obj: any, editor: any) {
if (!!editor) {
editor.titleLocation = "hidden";
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 851aed3

Please sign in to comment.