Skip to content

Commit 760d692

Browse files
Zoom by 10% instead of 25%
1 parent 45e3505 commit 760d692

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/zm_monitorstream.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,13 +177,13 @@ void MonitorStream::processCommand(const CmdMsg *msg) {
177177
case CMD_ZOOMIN :
178178
x = ((unsigned char)msg->msg_data[1]<<8)|(unsigned char)msg->msg_data[2];
179179
y = ((unsigned char)msg->msg_data[3]<<8)|(unsigned char)msg->msg_data[4];
180-
zoom += 25;
181-
Debug(1, "Got ZOOM IN command, to %d,%d zoom value %d%", x, y, zoom);
180+
zoom += 10;
181+
Debug(1, "Got ZOOM IN command, to %d,%d zoom value %d%%", x, y, zoom);
182182
break;
183183
case CMD_ZOOMOUT :
184-
zoom -= 25;
184+
zoom -= 10;
185185
if (zoom < 100) zoom = 100;
186-
Debug(1, "Got ZOOM OUT command resulting zoom %d%", zoom);
186+
Debug(1, "Got ZOOM OUT command resulting zoom %d%%", zoom);
187187
break;
188188
case CMD_PAN :
189189
x = ((unsigned char)msg->msg_data[1]<<8)|(unsigned char)msg->msg_data[2];

0 commit comments

Comments
 (0)