| 176 | on(on, currentMapping); |
| 177 | skipForward(skipForward, currentMapping); |
| 178 | // skipBackward(skipBackward); |
| 179 | |
| 180 | |
| 181 | } |
| 182 | |
| 183 | protected void off(Set<Box> off) { |
| 184 | if (disable) return; |
| 185 | List<Box> son = new ArrayList<>(off); |
| 186 | son.sort(Comparator.comparingDouble(a -> a.properties.get(frame).y)); |
| 187 | son.sort(Comparator.comparingDouble(a -> a.properties.get(frame).x+a.properties.get(frame).w)); |
| 188 | |
| 189 | son.forEach(b -> { |
| 190 | Log.log("debug.execution", () -> " -- END :" + b); |
| 191 | if (b != null) |
| 192 | b.first(Execution.execution).ifPresent(x -> x.support(b, Execution.code).end(b)); |