原来env写滚轮的位置有问题,在更改路径设置时把滚轮功能覆盖了 2 ~3 ]& d/ C8 k' Q6 x8 r+ z4 j2 x4 d, m R
在source -q $ALLEGRO_SITE/site.env前面增加下面语句 6 x# W2 b. M. J. O7 ]& D) e) Z1 o) v: D
set buttonfactor = 17 x4 Q2 D b0 L% ~% ~
button wheel_up "zoom in $buttonfactor"% C3 z6 |* w, C& w# F& B
button wheel_down "zoom out $buttonfactor" 2 A' [# X a2 e: D/ ~, ]7 I