diff --git a/pom.xml b/pom.xml deleted file mode 100644 index a6c6505..0000000 --- a/pom.xml +++ /dev/null @@ -1,68 +0,0 @@ - - 4.0.0 - cc.artifice - vijual - jar - 0.2.3 - vijual - A Graph Layout Library For Clojure - - scm:git:git://github.com/joshuaeckroth/vijual.git - scm:git:ssh://git@github.com/joshuaeckroth/vijual.git - d5817b550f03c49530b9485e24e4df1b575f5297 - https://github.com/joshuaeckroth/vijual - - - src - test - - - resources - - - - - dev-resources - - - resources - - - target - target/classes - - - - central - http://repo1.maven.org/maven2/ - - true - - - true - - - - clojars - https://clojars.org/repo/ - - true - - - true - - - - - - org.clojure - clojure - 1.4.0 - - - - - diff --git a/project.clj b/project.clj index fc6bcf5..75bdea1 100644 --- a/project.clj +++ b/project.clj @@ -1,3 +1,3 @@ -(defproject cc.artifice/vijual "0.2.4" +(defproject cc.artifice/vijual "0.2.5" :description "A Graph Layout Library For Clojure" :dependencies [[org.clojure/clojure "1.4.0"]]) diff --git a/src/vijual.clj b/src/vijual.clj index 946f9be..61be0b2 100644 --- a/src/vijual.clj +++ b/src/vijual.clj @@ -1178,7 +1178,7 @@ (.fillRect graphics (+ x line-wid) (+ y line-wid) (- width (* line-wid 2)) (- height (* line-wid 2))) (.setColor graphics (Color. 0 0 0)) (doseq [[s n] (map vector (seq text) (iterate inc 0))] - (.drawString graphics s (Math/floor (+ 2 x)) (Math/floor (+ y 8 (* n 10))))))) + (.drawString graphics s (int (Math/floor (+ 2 x))) (int (Math/floor (+ y 8 (* n 10)))))))) (doseq [{:keys [type x y width height dir]} shapes] (when (= type :arrow) (.setColor graphics (Color. 255 255 255))