That’s so-called “pseudocode” used to illustrate the flow of a program in a simplified manner, and based on speculation, it’s not actual MSFS code we would be able to modify ourselves. But, yeah, there’s a chance they “just” need to move the code that resets the camera closer to the code that displays the logbook so it is no longer executed when the logbook screen has been disabled by the user.