ported solid effect to glsl

This commit is contained in:
itsmattkc
2018-08-24 18:04:28 +10:00
parent b3c41b6305
commit 0f00f3fdc2
7 changed files with 37 additions and 22 deletions
+2 -2
View File
@@ -27,7 +27,7 @@ KeyframeView::KeyframeView(QWidget *parent) : QWidget(parent), mousedown(false),
}
void KeyframeView::paintEvent(QPaintEvent*) {
QPainter p(this);
QPainter p(this);
int width = getScreenPointFromFrame(panel_effect_controls->zoom, visible_out - visible_in);
setMinimumWidth(width);
@@ -66,7 +66,7 @@ void KeyframeView::paintEvent(QPaintEvent*) {
if (select_rect) {
draw_selection_rectangle(p, QRect(rect_select_x, rect_select_y, rect_select_w, rect_select_h));
}
}
/*if (mouseover && mouseover_row < rowY.size()) {
draw_keyframe(p, getScreenPointFromFrame(panel_effect_controls->zoom, mouseover_frame - visible_in), rowY.at(mouseover_row), true);