~ubuntu-branches/ubuntu/saucy/darktable/saucy

« back to all changes in this revision

Viewing changes to src/gui/histogram.c

  • Committer: Package Import Robot
  • Author(s): David Bremner
  • Date: 2011-11-13 10:46:00 UTC
  • mfrom: (8.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20111113104600-56c59agrs615gjim
New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
171
171
  else if(n->dragging && n->highlight == 1 && n->exposure && n->set_black)
172
172
  {
173
173
    float black = n->black - (event->x - n->button_down_x)*
174
 
                  .2f/(float)widget->allocation.width;
 
174
                  .1f/(float)widget->allocation.width;
175
175
    n->set_black(n->exposure, black);
176
176
  }
177
177
  else