Fixed printing informations about nearest traficar car. Increased size of printed image from 300 to 370px.

This commit is contained in:
kplaczek
2018-08-12 12:21:16 +02:00
parent 7a5e7a5d9d
commit 23220819d5
5 changed files with 31 additions and 29 deletions

View File

@@ -46,10 +46,8 @@ class Keyboard extends Controller
case 'last':
$main = new Main();
$main->noteLast();
break;
case $keyboardAction[1] > 0:
echo 'test';
$main = new Main();
$main->printNote((int)$keyboardAction[1]);
break;

View File

@@ -52,7 +52,7 @@ class Main extends Controller
$image = $image->greyscale()
->resize(300, null, function ($constraint) {
->resize(370, null, function ($constraint) {
$constraint->aspectRatio();
$constraint->upsize();
});