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;
|
break;
|
||||||
|
|
||||||
case B_COPY_TARGET:
|
case B_COPY_TARGET:
|
||||||
printf("\n\nB_COPY_TARGET:\n");
|
|
||||||
pmsg->PrintToStream();
|
|
||||||
HandleDrop(pmsg);
|
HandleDrop(pmsg);
|
||||||
break;
|
break;
|
||||||
case B_MOUSE_WHEEL_CHANGED:
|
case B_MOUSE_WHEEL_CHANGED:
|
||||||
@ -1894,7 +1892,9 @@ ShowImageView::SetZoom(float zoom)
|
|||||||
void
|
void
|
||||||
ShowImageView::ZoomIn()
|
ShowImageView::ZoomIn()
|
||||||
{
|
{
|
||||||
|
if (fZoom < 16) {
|
||||||
SetZoom(fZoom + 0.25);
|
SetZoom(fZoom + 0.25);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user