Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/view.cc')
-rw-r--r--src/client/view.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/view.cc b/src/client/view.cc
index a2bdfe1..3ee6460 100644
--- a/src/client/view.cc
+++ b/src/client/view.cc
@@ -230,7 +230,7 @@ void View::resize()
void View::draw()
{
// reposition chat widget
- if (!view_chat->small()) {
+ if (!view_chat->small_view()) {
view_chat->set_location(font()->width(), view_devinfo->top() + view_devinfo->height() + font()->height());
view_chat->set_size(width() - font()->width() * 16, height() - view_chat->top() - font()->height() * 8);
} else {
@@ -246,7 +246,7 @@ void View::draw()
if (core::application()->connected() && core::game()->interactive()) {
if (ui::console()->visible()) {
view_notify->set_visible(false);
- } else if (view_chat->visible() && !view_chat->small()) {
+ } else if (view_chat->visible() && !view_chat->small_view()) {
view_notify->set_visible(false);
} else {
view_notify->set_visible(true);