Skip to content

Commit

Permalink
Removed debugging.
Browse files Browse the repository at this point in the history
  • Loading branch information
ggarra13 committed May 11, 2024
1 parent fff7e78 commit 6df2345
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions mrv2/lib/mrvGL/mrvTimelineWidget.cpp
Expand Up @@ -437,7 +437,6 @@ namespace mrv

// Open a thumbnail window just above the timeline
Fl_Group::current(p.topWindow);
std::cerr << "p.topWindow=" << p.topWindow << std::endl;

const int wX = X - kWINDOW_BORDERS;
const int wY = Y - kWINDOW_BORDERS;
Expand All @@ -449,8 +448,6 @@ namespace mrv
const int bW = W + kBOX_BORDERS * 2;
const int bH = H + kBOX_BORDERS * 2 + kLABEL_SIZE;

std::cerr << wX << ", " << wY << " " << wW << "x" << wH << std::endl;

p.thumbnailWindow = new Fl_Double_Window(wX, wY, wW, wH);
p.thumbnailWindow->box(FL_FLAT_BOX);
p.thumbnailWindow->color(0xffffffff);
Expand Down Expand Up @@ -497,6 +494,9 @@ namespace mrv
// 8 here is the size of the dragbar.
if (p.thumbnailWindow)
Y -= (p.thumbnailWindow->h() + 8);

if (Y < 0)
Y = 0;
}

void TimelineWidget::repositionThumbnail()
Expand Down Expand Up @@ -1498,7 +1498,6 @@ namespace mrv
int TimelineWidget::handle(int event)
{
TLRENDER_P();
std::cerr << this << " event=" << fl_eventnames[event] << std::endl;
switch (event)
{
case FL_FOCUS:
Expand Down

0 comments on commit 6df2345

Please sign in to comment.