Skip to content

Commit

Permalink
Event pages: Enable CharSets on the event graphic display
Browse files Browse the repository at this point in the history
The event graphic display can show CharSets now.
  • Loading branch information
rueter37 committed Nov 30, 2021
1 parent 288f1b7 commit 8c0ea69
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions src/ui/event/event_page_widget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,7 @@ void EventPageWidget::updateGraphic()
}
else
{
// FIXME m_charaItem->setBasePix(ToQString(m_eventPage->character_name));
m_charaItem->setIndex(m_eventPage->character_index);
m_charaItem->refresh(ToQString(m_eventPage->character_name), m_eventPage->character_index);
m_charaItem->setFrame(m_eventPage->character_pattern);
m_charaItem->setFacing(m_eventPage->character_direction);
m_tileItem->setVisible(false);
Expand Down
8 changes: 4 additions & 4 deletions src/ui/event/event_page_widget.ui
Original file line number Diff line number Diff line change
Expand Up @@ -308,14 +308,14 @@
<widget class="QGraphicsView" name="graphicsSprite">
<property name="minimumSize">
<size>
<width>50</width>
<height>66</height>
<width>52</width>
<height>68</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>48</width>
<height>64</height>
<width>52</width>
<height>68</height>
</size>
</property>
<property name="verticalScrollBarPolicy">
Expand Down

0 comments on commit 8c0ea69

Please sign in to comment.