Skip to content

Commit

Permalink
Fixed coloring of dock group.
Browse files Browse the repository at this point in the history
  • Loading branch information
ggarra13 committed Sep 11, 2024
1 parent 420bea0 commit cb07a56
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/docs/HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ v1.2.7
their keyboard shortcuts.
- Fixed Darby's DPX reading code.
- Allowed saving comparisons (Tiles, for example) to a movie file.
- Fixed dockgroup not getting highlited when dragging and the panel could dock.


v1.2.6
Expand Down
3 changes: 2 additions & 1 deletion src/lib/mrvWidgets/mrvDragButton.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ namespace mrv
int dock_attempt = would_dock();
if (dock_attempt)
{
color_dock_group(FL_DARK_YELLOW);
show_dock_group();
}
else
Expand All @@ -119,6 +120,7 @@ namespace mrv

if (dock_attempt)
{
// Color the dock area with the background color
color_dock_group(FL_BACKGROUND_COLOR);
show_dock_group();
tg->dock_grp();
Expand Down Expand Up @@ -192,7 +194,6 @@ namespace mrv
if (!uiDockGroup->visible())
{
uiDockGroup->show();
color_dock_group(FL_DARK_YELLOW);

auto dropWindow =
static_cast<DropWindow*>(uiDockGroup->top_window());
Expand Down

0 comments on commit cb07a56

Please sign in to comment.