terminal/src/cascadia/WindowsTerminal
NotWearingPants 856081229f
[IslandWindow.cpp] Avoid double-fetching dropdownDuration (#11383)
## Summary of the Pull Request
The code saved `args.DropdownDuration()` to a local and then called the function again, instead of using the local.
Changed to use the local.

## PR Checklist
* [ ] Closes #xxx
* [x] CLA signed
* [ ] Tests added/passed
* [ ] Documentation updated
* [ ] Schema updated.
* [ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan.

## Detailed Description of the Pull Request / Additional comments

I think this getter simply accesses a member on `args`, it doesn't parse the settings or anything, so compiler optimizes it, but seemed to make more sense to use the local.
2021-10-04 12:40:15 +00:00
..
AppHost.cpp Persist window layout cont. save multiple windows (#11083) 2021-09-27 21:18:39 +00:00
AppHost.h Persist window layout cont. save multiple windows (#11083) 2021-09-27 21:18:39 +00:00
BaseWindow.h Persist window layout cont. save multiple windows (#11083) 2021-09-27 21:18:39 +00:00
CustomWindowMessages.h Replace TrayIcon with NotificationIcon (#11219) 2021-09-14 16:12:40 +00:00
icon.cpp Add Minimize to Tray and Tray Icon (#10368) 2021-08-12 19:54:39 +00:00
icon.h Add Minimize to Tray and Tray Icon (#10368) 2021-08-12 19:54:39 +00:00
IslandWindow.cpp [IslandWindow.cpp] Avoid double-fetching dropdownDuration (#11383) 2021-10-04 12:40:15 +00:00
IslandWindow.h Enable Vintage Opacity (#11180) 2021-09-20 17:08:13 +00:00
main.cpp Replace TrayIcon with NotificationIcon (#11219) 2021-09-14 16:12:40 +00:00
NonClientIslandWindow.cpp Enable Vintage Opacity (#11180) 2021-09-20 17:08:13 +00:00
NonClientIslandWindow.h Add an openSystemMenu keybinding (#11086) 2021-09-10 18:25:43 +00:00
NotificationIcon.cpp Replace TrayIcon with NotificationIcon (#11219) 2021-09-14 16:12:40 +00:00
NotificationIcon.h Replace TrayIcon with NotificationIcon (#11219) 2021-09-14 16:12:40 +00:00
packages.config Update to MUX 2.7 (#11240) 2021-09-20 22:08:55 +00:00
pch.cpp Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00
pch.h Enable Vintage Opacity (#11180) 2021-09-20 17:08:13 +00:00
resource.h Update WT's icon at runtime to match high-contrast as applicable (#7971) 2020-10-28 00:39:38 +00:00
VirtualDesktopUtils.cpp Add desktop param to globalSummon; set _quake = toCurrent (#9954) 2021-04-28 17:25:48 -05:00
VirtualDesktopUtils.h Add desktop param to globalSummon; set _quake = toCurrent (#9954) 2021-04-28 17:25:48 -05:00
WindowsTerminal.def Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00
WindowsTerminal.manifest Restore embedded manifests to say 18362 (#10370) 2021-06-09 16:23:26 +00:00
WindowsTerminal.rc Update WT's icon at runtime to match high-contrast as applicable (#7971) 2020-10-28 00:39:38 +00:00
WindowsTerminal.vcxproj Update to MUX 2.7 (#11240) 2021-09-20 22:08:55 +00:00