mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Left hand justification
Set to false by default, let me know if you think it should be true. As all cards are played to the left of the screen this feels more comfortable to use as you dont need to keep looking at different areas of the screen. Will auto rearrange when changed during game-play.
This commit is contained in:
parent
fb49a8867e
commit
a082fbcfef
6 changed files with 27 additions and 5 deletions
|
|
@ -77,6 +77,14 @@ SettingsCache::SettingsCache()
|
|||
scaleCards = settings->value("cards/scaleCards", true).toBool();
|
||||
showMessagePopups = settings->value("chat/showmessagepopups", true).toBool();
|
||||
showMentionPopups = settings->value("chat/showmentionpopups", true).toBool();
|
||||
|
||||
leftJustified = settings->value("interface/leftjustified", false).toBool();
|
||||
}
|
||||
|
||||
void SettingsCache::setLeftJustified(const int _leftJustified) {
|
||||
leftJustified = _leftJustified;
|
||||
settings->setValue("interface/leftjustified", leftJustified);
|
||||
emit handJustificationChanged();
|
||||
}
|
||||
|
||||
void SettingsCache::setCardScaling(const int _scaleCards) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue