Move simple UI blend mapping to renderer gl

This commit is contained in:
2026-06-02 08:31:31 +02:00
parent d8e958769b
commit b7c087617b
7 changed files with 21 additions and 11 deletions

View File

@@ -2,6 +2,7 @@
#include "node_panel_animation.h"
#include "node_button.h"
#include "node_button_custom.h"
#include "renderer_gl/opengl_capabilities.h"
#include "canvas.h"
#include "app.h"
@@ -236,7 +237,7 @@ void NodeAnimationTimeline::draw()
{
parent::draw();
ShaderManager::use(kShader::Color);
glDisable(GL_BLEND);
glDisable(pp::renderer::gl::blend_state());
float step = 35.f;
glm::vec2 cur_pos = {