(step: number)
| 62 | |
| 63 | |
| 64 | function move_input_panel(step: number) { |
| 65 | let new_height = input_panel.height() + step; |
| 66 | if (new_height >= input_cards.height()) |
| 67 | new_height = input_cards.height(); |
| 68 | else if (new_height <= input_min_fixed_height() - 80) //80 = #input-container.fixed padding-top + padding-bottom |
| 69 | new_height = input_min_fixed_height() - 80; |
| 70 | |
| 71 | input_panel.height(new_height); |
| 72 | end_space.height(new_height - 40); // 40 = #input-container.fixed padding-top |
| 73 | } |
| 74 | |
| 75 | |
| 76 | $(function () { |
no test coverage detected
searching dependent graphs…