diff options
author | Campbell Barton <campbell@blender.org> | 2022-08-04 00:54:29 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-08-04 00:54:29 +0300 |
commit | 6089a96be2993d0808018cdf209db3691a1f2d0f (patch) | |
tree | 0d9a243bf0a2126260bab2bed40bc6e8d4b9c840 /source/blender/editors/interface/interface_panel.cc | |
parent | 1ec7f75b2a045c176218c694ae24e018f0802dbe (diff) |
Cleanup: spelling, code-blocks
Diffstat (limited to 'source/blender/editors/interface/interface_panel.cc')
-rw-r--r-- | source/blender/editors/interface/interface_panel.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/interface/interface_panel.cc b/source/blender/editors/interface/interface_panel.cc index 9199e6d052d..dc6a0fecb73 100644 --- a/source/blender/editors/interface/interface_panel.cc +++ b/source/blender/editors/interface/interface_panel.cc @@ -1090,7 +1090,7 @@ static void panel_draw_aligned_widgets(const uiStyle *style, const int header_height = BLI_rcti_size_y(header_rect); const int scaled_unit = round_fl_to_int(UI_UNIT_X / aspect); - /* Offset triangle and text to the right for subpanels. */ + /* Offset triangle and text to the right for sub-panels. */ rcti widget_rect; widget_rect.xmin = header_rect->xmin + (is_subpanel ? scaled_unit * 0.7f : 0); widget_rect.xmax = header_rect->xmax; @@ -2092,7 +2092,7 @@ static void ui_handle_panel_header(const bContext *C, ui_panel_drag_collapse_handler_add(C, UI_panel_is_closed(panel)); } - /* Set panel custom data (modifier) active when expanding subpanels, but not top-level + /* Set panel custom data (modifier) active when expanding sub-panels, but not top-level * panels to allow collapsing and expanding without setting the active element. */ if (is_subpanel) { panel_custom_data_active_set(panel); |