Skip to content

Commit ef7dccb

Browse files
authored
Merge pull request #1134 from AttorneyOnline/flip-vertical-offset
Flipped vertical offset: positive is up, negative is down
2 parents 129b28a + 4082cd9 commit ef7dccb

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/courtroom.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6447,7 +6447,7 @@ void Courtroom::on_pair_offset_changed(int value)
64476447

64486448
void Courtroom::on_pair_vert_offset_changed(int value)
64496449
{
6450-
char_vert_offset = value;
6450+
char_vert_offset = -value;
64516451
}
64526452

64536453
void Courtroom::on_witness_testimony_clicked()

src/emotes.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ void Courtroom::preview_emote(QString f_emote, kal::CharacterAnimationLayer::Emo
291291
emote_preview->show();
292292
emote_preview->raise();
293293
emote_preview->updateViewportGeometry();
294-
emote_preview->display(current_char, f_emote, emoteType, ui_flip->isChecked(), ui_pair_offset_spinbox->value(), ui_pair_vert_offset_spinbox->value());
294+
emote_preview->display(current_char, f_emote, emoteType, ui_flip->isChecked(), ui_pair_offset_spinbox->value(), -ui_pair_vert_offset_spinbox->value());
295295
}
296296

297297
void Courtroom::on_emote_left_clicked()

0 commit comments

Comments
 (0)