mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-22 06:41:08 +00:00
Remove comment from TextBox::onSizeHint()
This commit is contained in:
parent
43a225afe0
commit
d5d71257fe
@ -1,5 +1,5 @@
|
|||||||
// Aseprite UI Library
|
// Aseprite UI Library
|
||||||
// Copyright (C) 2001-2013, 2015 David Capello
|
// Copyright (C) 2001-2016 David Capello
|
||||||
//
|
//
|
||||||
// This file is released under the terms of the MIT license.
|
// This file is released under the terms of the MIT license.
|
||||||
// Read LICENSE.txt for more information.
|
// Read LICENSE.txt for more information.
|
||||||
@ -152,10 +152,6 @@ void TextBox::onSizeHint(SizeHintEvent& ev)
|
|||||||
int w = 0;
|
int w = 0;
|
||||||
int h = 0;
|
int h = 0;
|
||||||
|
|
||||||
// TODO is it necessary?
|
|
||||||
//w = widget->border_width.l + widget->border_width.r;
|
|
||||||
//h = widget->border_width.t + widget->border_width.b;
|
|
||||||
|
|
||||||
drawTextBox(NULL, this, &w, &h, gfx::ColorNone, gfx::ColorNone);
|
drawTextBox(NULL, this, &w, &h, gfx::ColorNone, gfx::ColorNone);
|
||||||
|
|
||||||
if (this->align() & WORDWRAP) {
|
if (this->align() & WORDWRAP) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user