• R/O
  • SSH

JdbcAcsess2: Commit

全てを再実装したJdbcAcsessです。


Commit MetaInfo

Revision7442cb20eb0a4cc6213bc15723c7239b20901ee7 (tree)
Time2012-03-04 21:00:54
Authorshimakazuro
Commitershimakazuro

Log Message

wheelの方向と拡大縮小を逆にする

Change Summary

Incremental Difference

diff -r ab2bf3f9fd03 -r 7442cb20eb0a src/jdbcacsess2/main/FontZoom.java
--- a/src/jdbcacsess2/main/FontZoom.java Sun Mar 04 20:31:30 2012 +0900
+++ b/src/jdbcacsess2/main/FontZoom.java Sun Mar 04 21:00:54 2012 +0900
@@ -79,7 +79,7 @@
7979 Component c = e.getComponent();
8080
8181 Font font = c.getFont();
82- float size = font.getSize() + e.getWheelRotation();
82+ float size = font.getSize() + (e.getWheelRotation() * -1);
8383 if (4 < size && size < 30) {
8484 c.setFont(font.deriveFont(size));
8585 }
Show on old repository browser