Fix assertions
[fanfix.git] / src / jexer / TWidget.java
index 8833f8ff7d0668fb232222ef6fa032a232976be8..169e5576be85d09a4aedd865ecc680a84d45e2f9 100644 (file)
@@ -438,7 +438,6 @@ public abstract class TWidget implements Comparable<TWidget> {
      * @return absolute screen column number for the cursor's X position
      */
     public final int getCursorAbsoluteX() {
-        assert (cursorVisible);
         return getAbsoluteX() + cursorX;
     }
 
@@ -448,7 +447,6 @@ public abstract class TWidget implements Comparable<TWidget> {
      * @return absolute screen row number for the cursor's Y position
      */
     public final int getCursorAbsoluteY() {
-        assert (cursorVisible);
         return getAbsoluteY() + cursorY;
     }