mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
added increased size of drag and drop regions
This commit is contained in:
parent
5df231f072
commit
e1b8faacc9
2 changed files with 5 additions and 6 deletions
|
@ -760,7 +760,7 @@ void TwitchMessageBuilder::appendTwitchBadges()
|
|||
case 1: {
|
||||
this->emplace<ImageElement>(
|
||||
Image::fromNonOwningPixmap(
|
||||
&app->resources->twitch.verified),
|
||||
&app->resources->twitch.verified, 0.25),
|
||||
MessageElementFlag::BadgeVanity)
|
||||
->setTooltip("Twitch Verified");
|
||||
} break;
|
||||
|
|
|
@ -20,9 +20,8 @@
|
|||
#include <QPainter>
|
||||
#include <QVBoxLayout>
|
||||
#include <QWidget>
|
||||
#include <boost/foreach.hpp>
|
||||
|
||||
#include <algorithm>
|
||||
#include <boost/foreach.hpp>
|
||||
|
||||
namespace chatterino {
|
||||
|
||||
|
@ -328,10 +327,10 @@ void SplitContainer::layout()
|
|||
Node *node = this->baseNode_.findNodeContainingSplit(split);
|
||||
|
||||
_dropRects.push_back(
|
||||
DropRect(QRect(g.left(), g.top(), g.width() / 4, g.height()),
|
||||
DropRect(QRect(g.left(), g.top(), g.width() / 3, g.height()),
|
||||
Position(node, Direction::Left)));
|
||||
_dropRects.push_back(DropRect(QRect(g.left() + g.width() / 4 * 3,
|
||||
g.top(), g.width() / 4, g.height()),
|
||||
_dropRects.push_back(DropRect(QRect(g.left() + g.width() / 3 * 2,
|
||||
g.top(), g.width() / 3, g.height()),
|
||||
Position(node, Direction::Right)));
|
||||
|
||||
_dropRects.push_back(
|
||||
|
|
Loading…
Reference in a new issue