Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Port das teclas de atalho para rotacionar e flippar objetos #168

Merged
merged 4 commits into from
Oct 3, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Content.Client/Options/UI/Tabs/KeyRebindTab.xaml.cs
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tenta arrumar isso pra mim depois, não vou deixar isso segurar tua PR. Faz push e me avisa q eu pego, nem precisa fazer outro PR.

Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ private void HandleHoldLookUp(BaseButton.ButtonToggledEventArgs args)
_cfg.SetCVar(CCVars.HoldLookUp, args.Pressed);
_cfg.SaveToFile();
}

private void HandleDefaultWalk(BaseButton.ButtonToggledEventArgs args)
{
_cfg.SetCVar(CCVars.DefaultWalk, args.Pressed);
Expand Down
3 changes: 3 additions & 0 deletions Resources/Locale/pt-BR/escape-menu/ui/options-menu.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,9 @@ ui-options-function-try-pull-object = Puxar objeto
ui-options-function-move-pulled-object = Mover objeto puxado
ui-options-function-release-pulled-object = Soltar objeto puxado
ui-options-function-point = Apontar para local
ui-options-function-rotate-object-clockwise = Rotacionar no sentido horário
ui-options-function-rotate-object-counterclockwise = Rotacionar no sentido anti-horário
ui-options-function-flip-object = Inverter

ui-options-function-focus-chat-input-window = Foco no Chat
ui-options-function-focus-local-chat-window = Foco no Chat (IC)
Expand Down
4 changes: 3 additions & 1 deletion Resources/keybinds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -278,13 +278,15 @@ binds:
- function: RotateObjectClockwise
type: State
key: R
mod1: Shift
- function: RotateObjectCounterclockwise
type: State
key: R
mod1: Shift
mod1: Control
- function: FlipObject
type: State
key: F
mod1: Shift
- function: TextCursorLeft
type: State
key: Left
Expand Down