Removed some debug print statements, set the maximum allowed Zoom to 1600%
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5744 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
56fc4e779e
commit
6574ee0747
@ -1461,8 +1461,6 @@ ShowImageView::MessageReceived(BMessage *pmsg)
|
||||
break;
|
||||
|
||||
case B_COPY_TARGET:
|
||||
printf("\n\nB_COPY_TARGET:\n");
|
||||
pmsg->PrintToStream();
|
||||
HandleDrop(pmsg);
|
||||
break;
|
||||
case B_MOUSE_WHEEL_CHANGED:
|
||||
@ -1894,7 +1892,9 @@ ShowImageView::SetZoom(float zoom)
|
||||
void
|
||||
ShowImageView::ZoomIn()
|
||||
{
|
||||
SetZoom(fZoom + 0.25);
|
||||
if (fZoom < 16) {
|
||||
SetZoom(fZoom + 0.25);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user