added increased size of drag and drop regions

This commit is contained in:
fourtf 2018-08-07 09:45:10 +02:00
parent 5df231f072
commit e1b8faacc9
2 changed files with 5 additions and 6 deletions

View file

@ -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;

View file

@ -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(