src/widgets/colorinput.h

Fri, 01 Jul 2022 16:46:43 +0300

author
Teemu Piippo <teemu.s.piippo@gmail.com>
date
Fri, 01 Jul 2022 16:46:43 +0300
changeset 312
2637134bc37c
parent 96
165777a20dc7
permissions
-rw-r--r--

Fix right click to delete not really working properly
Instead of removing the point that had been added, it would remove
the point that is being drawn, which would cause it to overwrite the
previous point using the new point, causing a bit of a delay

#ifndef COLORINPUT_H
#define COLORINPUT_H

#include <QWidget>

namespace Ui {
class ColorInput;
}

class ColorInput : public QWidget
{
	Q_OBJECT

public:
	explicit ColorInput(QWidget *parent = nullptr);
	~ColorInput();

private:
	Ui::ColorInput *ui;
};

#endif // COLORINPUT_H

mercurial