revert mods made for HDR for out-of-range values greater than (0 - 1.0f)
[goodguy/cinelerra.git] / cinelerra-5.1 / plugins / color3way / color3waywindow.C
index 1e188f26dbf07ab570beaff0dd179a6481b85043..d55f2cd5eadc5e8367a347dec012f4623036bbea 100644 (file)
@@ -39,8 +39,8 @@ Color3WayWindow::Color3WayWindow(Color3WayMain *plugin)
  : PluginClientWindow(plugin,
        plugin->w,
        plugin->h,
-       680,
-       370,
+       xS(720),
+       yS(400),
        1)
 {
        this->plugin = plugin;
@@ -554,8 +554,8 @@ int Color3WayPoint::cursor_leave_event()
 int Color3WayPoint::keypress_event()
 {
        int result = 0;
-       if(!active) return 0;
-       if(ctrl_down() || shift_down()) return 0;
+       if(!active) return context_help_check_and_show();
+       if(ctrl_down() || shift_down()) return context_help_check_and_show();
 
        switch(get_keypress())
        {
@@ -584,6 +584,7 @@ int Color3WayPoint::keypress_event()
                plugin->send_configure_change();
                gui->update();
        }
+       else result = context_help_check_and_show();
        return result;
 }