Skip to content

Commit

Permalink
[IMP] icons: add unfreeze icon
Browse files Browse the repository at this point in the history
This commit add a missing icon for the Unfreeze menu items,
appearing in the view menu when something (col or row) has been
freezed.

closes #2505

Signed-off-by: Lucas Lefèvre (lul) <lul@odoo.com>
  • Loading branch information
anhe-odoo committed May 23, 2023
1 parent 254ac6c commit 9134dad
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/actions/view_actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ export const unFreezePane: ActionSpec = {
env.model.dispatch("UNFREEZE_COLUMNS_ROWS", {
sheetId: env.model.getters.getActiveSheetId(),
}),
icon: "o-spreadsheet-Icon.UNFREEZE",
};

export const freezePane: ActionSpec = {
Expand Down
8 changes: 8 additions & 0 deletions src/components/icons/icons.xml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,14 @@
/>
</svg>
</t>
<t t-name="o-spreadsheet-Icon.UNFREEZE" owl="1">
<svg class="o-icon">
<path
fill="currentColor"
d="M.5 17.5h16a1 1 0 0 0 1-1v-15a1 1 0 0 0-1-1h-15a1 1 0 0 0-1 1v15a1 1 0 0 0 1 1M5 6H2V2h3m0 9.5H2V7h3m0 9H2v-3.5h3M10.5 7v4.5H6V7m0 9v-3.5h4.5V16m5.5 0h-4.5v-3.5H16m0-1h-4.5V7H16m0-5v4h-4.5V2m-1 4H6V2h4.5"
/>
</svg>
</t>
<t t-name="o-spreadsheet-Icon.SHOW_HIDE_GRID" owl="1">
<svg class="o-icon">
<path
Expand Down

0 comments on commit 9134dad

Please sign in to comment.